Hi,
I am trying to have bombs placed in my way which cant be seen.. or well may be visible, and when you go near them they explode. I tried making explodable crates, but when I go near they dont explode, just disappear. I tried putting a switch and used "suspend=1" to deactivate the crates, which didnt happen.
Code for crates I am using is
;Artificial Intelligence Script
;Header
desc = apply a force to the entity when plr is close
;Triggers
:state=0,activated=0,state=1
:state=1,plrdistwithin=100:triggerforce=100,state=2
:state=2,activated=1:suspend=1,state=1
;End of Script
Where am I going wrong?
Hope to find some help.
Thanks
EDIT: How to use Suspend command?