Can someone help with follow logic and enemy
Hi guys I know this sub is flooded but we are all still learning
I finally have a solid idea to make a game but I cant even make the basic logic work.
So the premise is : horror game in which enemy only moves in the dark and can see you and follow you in the dark, when the lights are on they cant do anything and you cant see them, sort of like a puzzle game.
I have watched this https://youtu.be/ZatxiOppQr0
but still cant make it work at all.
if someone has a any tip please!
Keep Dreaming guys!
-
You need to set a counter that determines if it is dark or not. Then if the counter is full it powers the microchip that contains the enemy movement (probably a combination of trigger detect and follower). When the lights are on reset the counter, the microchip will no longer be powered and the enemy will not move.
-
You can also tell the same counter to set the visibility of a character. So when the lights are on their brain is unpowered and they'er set invisable and non collidable.
You can setup different brain logic/tweak states with keyframes too.
So record the settings with the keyframe, then trigger it with light or dark tags. -
If you're doing something like flashlight freezing you can have a hidden shape that when it collides with an enamy it triggers a tag called "light" and then the enamy can have logic to detect the tag and switch its brain off using a not gate. From the light tag detector to the brain chip.
Alternatively you could tag the invisible shape "light" then have all the logic on the enamy, saying "when collide with object tagged 'light' then turn on NotGate connected to brain. -
could you explain a little better that with not gate I dont know what to connect to what
الرجاء تسجيل الدخول لترك تعليق.