I know this has been asked many times. I searched but I cant find aswer for this. I am making landmine what blows up when gets closer.(check models and media forum) I use this code:
;Artificial Intelligence Script
;Modified Script By TuPP3
;Header
desc =LandMine what blows up when get close.
;Triggers
:state=0:state=2
:plrdistwithin=40:sound=audiobank\explode\explode1.wav,rundecal=6,triggerforce=100,state=6
:state=2:timerstart,state=3
:state=3,timergreater=100:alttexture=1,timerstart,state=4
:state=4,timergreater=100:alttexture=0,timerstart,state=3
:state=6:destroy
;End of Script
But the problem of this is THESE: When you step mine it plays sound what doesn`t sound like explosion and mine blows everything around you but not affect to you!! and mine doesnt run explosion and smoke decal what should!
Please help!