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 / I search for script (when player in zone to destroy object or character)

Author
Message
Layken
14
Years of Service
User Offline
Joined: 8th Apr 2010
Location: Tam gdzie mnie niema
Posted: 5th Aug 2010 13:34
I search for script (when player in zone to destroy object or character)

Please help!
Nbt
15
Years of Service
User Offline
Joined: 11th Oct 2009
Location: Behind you!!
Posted: 5th Aug 2010 14:01
Here is a quick edit of the stock hurtzone script that kills the player (well unless the player has a 10k HP super shield lol)



Layken
14
Years of Service
User Offline
Joined: 8th Apr 2010
Location: Tam gdzie mnie niema
Posted: 5th Aug 2010 15:07
no destroy player destroy character or entity
Metal Devil123
16
Years of Service
User Offline
Joined: 13th Jul 2008
Location: Suomi, Finland
Posted: 5th Aug 2010 16:04
I remember seeing a script that said destroyinzone or something... I don't really remember, but it was supposed to destroy the entity in the ifused or something... or then I was just eating too much mushrooms again... but the red ones with white dots looks so good!


My old YouTube account got deleted. My new account is called MetalFPSC. thanks for your time!
Nbt
15
Years of Service
User Offline
Joined: 11th Oct 2009
Location: Behind you!!
Posted: 5th Aug 2010 16:36
Quote: "no destroy player destroy character or entity"

Then just use a normal trigger and assign the plrinzoneactivateifused.fpi (or whatever it is called) and make a script with something like this in it for the entity you want to destroy.

:state=0,activated=1:destroy,state=1

Use as the entities AI script I guess and set the entities name in the triggers "IfUsed" section of it's properties.

I'm not very good at scripting, sorry

Flatlander
FPSC Tool Maker
17
Years of Service
User Offline
Joined: 22nd Jan 2007
Location: The Flatlands
Posted: 5th Aug 2010 17:01 Edited at: 5th Aug 2010 17:02
Quote: ":state=0,activated=1:destroy,state=1"


That works. It will destroy the entity, however if using vanilla or any other mod except RPG Mod and if this is a character then the circular shadow will remain. It will not be destroyed.

However, if you want the non-character entity to explode this will not do it either. So, what do you use then? runfpidefault.

Here is the script line to use:

Quote: ":state=0,activated=1:runfpidefault=2,state=1"


This will run the destroy script within the "destroy" parameter.

Nbt
15
Years of Service
User Offline
Joined: 11th Oct 2009
Location: Behind you!!
Posted: 5th Aug 2010 17:06
Oh coolies that will be handy to remember, thanks El Tel

I should have scrolled down further in FPI EditPad condition/actions list

Login to post a reply

Server time is: 2024-11-24 21:28:33
Your offset time is: 2024-11-24 21:28:33