Hi people I would like to request a script
for all people who played Alone in the dark the new nightmare will recognize what I am speaking about
so the idea is simple in term
some monster will be tagged "sensible to light"
so the monster or the event will run away if the hero blow is flash light on it this will make the monster run aways from the light in question
I use Khas arcthunder awesome ligthining effect for this
but the light is still a simple image file
so in simple this a script who doing a event trigger (or switch ) when they touch the specific picture (like flashlight or light on the ground in simple when the event touch this trigger a switch~
thanks for you answer ~
Light contact who make monster run aways?
● ARCHIVED · READ-ONLY
-
-
In case no one takes up your request, perhaps you can simulate the effect by using switches, conditional branches and player/event x y coordinates.
-
Use a proximity script and your issue is solved.
You can also make the flashlight be activated/deactivated with a button press too (I did it like this way in my project). Even better, tie an equipment with it, to make it a real "tool".
When you turn on the flashlight, turn a switch ON, and when you turn off the flashlight, turn OFF the switch too.
The enemy event should have a normal page without a condition and a parallel page with the above switch and a self-switch as a condition.
On the 2nd page, make the auto-move route you want the enemy to have (move away from the player a few times with 'skip' and 'repeat' turned ON). On the first page, make a range condition, so that the self-switch will turn ON when the player is in range (specify range condition with the proximity script you are using).
With this, you get an event that flees when it sees some light, and only when there is light. Without light, it can do some other things, like damage the player, give some pudding to a random slime on the map, etc. :D