Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Scripts / Hurt then don't hurt

Author
Message
CamaroBee
16
Years of Service
User Offline
Joined: 5th Jan 2008
Location:
Posted: 24th Feb 2008 05:29 Edited at: 24th Feb 2008 23:57
What I'd like is to have an object hurt the player until the player flicks a switch to make it stop hurting the player when they walk over the object.

Thanks


I tried making a script but this doesn't work can someone tell me what i'm doing wrong?


;Artificial Intelligence Script

;Header

desc = Hurt then Don't

;Triggers

:state=0:plraddhealth=-1000,state=1
:state=1:activateifused=1,state=2
:state=2:destroy

;End of Script

Login to post a reply

Server time is: 2024-11-24 06:38:47
Your offset time is: 2024-11-24 06:38:47