How to make an OOP-Structured NPC in Roblox Studio ep. 4
Вставка
- Опубліковано 21 вер 2024
- Description:
In this video, we will cover setting up type definitions for this system, defining the functionality for NPC's being able to detect players, and then setting up a loop that repeatedly detects if any players (or other NPCs) are in sight. The sight functionality will include a limited field of view, a limited range, and also a minimum detection radius in which you can even be detected from behind.
Credits:
A special thanks to Duckx for editing this video.
Questions / Help:
For assistance with any problems you may have following the video or in general, please post in the appropriate channel in the Knine's Scripting Lessons Discord server: / discord . Please follow the post guidelines for the appropriate category (usually scripting) or your post may be ignored.
If you can't use Discord or don't wish to, feel free to post questions here in the comments section but know that I may be slow to answer or may miss your comment entirely. Additionally, follow these guidelines in your questions:
1) What is the specific issue you're having and what are you trying to do?
2) What have you tried to do to fix it so far?
3) Send relevant code chunks (if it's scripting) and any relevant errors/warnings if there are any.
Membership Information:
Join this channel to get access to tutorial game files and other awesome perks:
/ @knineteen19
You can also become a patron here for the same perks but supporting me more directly: / knineteen19
UA-cam Members:
Jack
Trafton
ThatOneGoat
Patreon Members:
VAM21402
And an additional 28 anonymous members.
good video, really excited for the inventory series to continue 😁
Thanks! You're videos are pretty great 👍
Very well informed, love it.
Nice keep going
AlvinBlox has got nothing on Knine😎
ねこ