I'm working on a stealth-based system and I've been having trouble with the following problem:
I cannot get the enemies to "spot" the character unless if the character moves. The idea I have is that for every visible event, there will be upwards of 15 other invisible events, depending on the range of view, extending in front of it. The problem is that I am unsire about how to make these invisible events check whether they're occupying the same space as the party.
I know the key is probably in having the event repeatedly check the difference between all of the event location variables and the party location variables and activate the desired script when those variables are the same.
If nothing else, I'll probably have to make an explanation for why the events can't see characters standing still.
I cannot get the enemies to "spot" the character unless if the character moves. The idea I have is that for every visible event, there will be upwards of 15 other invisible events, depending on the range of view, extending in front of it. The problem is that I am unsire about how to make these invisible events check whether they're occupying the same space as the party.
I know the key is probably in having the event repeatedly check the difference between all of the event location variables and the party location variables and activate the desired script when those variables are the same.
If nothing else, I'll probably have to make an explanation for why the events can't see characters standing still.



Comment