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 / IsImmobile=no when damage >n Suggestions?

Author
Message
Pus In Boots
19
Years of Service
User Offline
Joined: 5th Nov 2005
Location: S.M.I.L.E. industries
Posted: 11th Jul 2007 17:23
Could someone make, or lead me to, a script that sets the Immobile property to NO when the entity takes a certain amount of damage? Help would be much obliged because I'm such a friggin' nOOb at scripting!

Please sign here
pigs can fly
18
Years of Service
User Offline
Joined: 20th Aug 2006
Location: Luxembourg
Posted: 11th Jul 2007 23:08 Edited at: 11th Jul 2007 23:11
Not sure if it works, but the entity will be suspended permanently (don't know if the suspend command means 'suspend script' or 'suspend movement').

Replace X by the value [ (Health) - (certain amount of Damage) ]. Hope it works



All the free PCF Productions Stuff

Login to post a reply

Server time is: 2024-11-23 21:01:54
Your offset time is: 2024-11-23 21:01:54