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 Product Chat / Hurt-able Sprites ?

Author
Message
Zay
16
Years of Service
User Offline
Joined: 2nd Dec 2009
Location: sLOVEina
Posted: 23rd Jul 2010 22:16
Is it possible to set a sprite to hurt you (fire,hot steam) and also is it possible to turn off (make it disappear) with a switch?

Thanks in advice!

Contact me in Skype,name- nejcplan
Marc Steene
FPSC Master
20
Years of Service
User Offline
Joined: 27th Mar 2006
Location: Bahrain
Posted: 23rd Jul 2010 22:28
Yep.

For number one, just add:

:plrdistwithin=30:plraddhealth=-5

And for number 2:

:activated=1:rundecal=X
:activated=0:destroy,runfpidefault=2

You need to alter the values to fit the situation.


[b]FPSC MIGRATION: http://forum.thegamecreators.com/?m=forum_view&t=142497&b=21
Zay
16
Years of Service
User Offline
Joined: 2nd Dec 2009
Location: sLOVEina
Posted: 23rd Jul 2010 22:37
Cool thanks man!

Contact me in Skype,name- nejcplan
Zay
16
Years of Service
User Offline
Joined: 2nd Dec 2009
Location: sLOVEina
Posted: 29th Jul 2010 12:02
Hmmm...Marc when I apply the second part to the switch script,the switch becomes invisible in-game

Contact me in Skype,name- nejcplan
ctm
21
Years of Service
User Offline
Joined: 25th Feb 2005
Location:
Posted: 29th Jul 2010 12:21
Both parts are meant for the decal script.
Zay
16
Years of Service
User Offline
Joined: 2nd Dec 2009
Location: sLOVEina
Posted: 29th Jul 2010 12:28
*facepalm*

Contact me in Skype,name- nejcplan

Login to post a reply

Server time is: 2026-07-16 01:43:52
Your offset time is: 2026-07-16 01:43:52