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 / how to destroy entity after time expired ?

Author
Message
Tomik18
FPSC Reloaded TGC Backer
15
Years of Service
User Offline
Joined: 8th May 2009
Location: Slovakia
Posted: 10th Oct 2017 16:38
i try this but nothing to happen

My PC specs: AMD FX 4300 3,80Ghz
8 GB RAM
GIGABYTE R9 280 Ultra Durable VGA 3GB
ncmako
12
Years of Service
User Offline
Joined: 19th Feb 2012
Location: Hendersonville,NC
Posted: 10th Oct 2017 17:00
Tomik18. Your script is fine. It is doing what it is suppose to do. You attached this to a triggerzone, correct? Player goes into zone, timer counts down 10secs, activateif used , then triggerzone is destroyed! Are you trying to do something else?
My games never have bugs. They just develop random features..
Lots and lots of random features...
Mriganka
10
Years of Service
User Offline
Joined: 16th Jun 2014
Location: Virtuality
Posted: 10th Oct 2017 18:24 Edited at: 10th Oct 2017 18:25
The destroy action will only destroy the current triggerzone. To destroy the object it has to be something like -

:always,activate=1:runfpidefault=2

or

:always,activated=1:destroy

(in the main script)
Tomik18
FPSC Reloaded TGC Backer
15
Years of Service
User Offline
Joined: 8th May 2009
Location: Slovakia
Posted: 11th Oct 2017 07:42
@Mriganka in the main script you mean in entity or trigger zone ?
My PC specs: AMD FX 4300 3,80Ghz
8 GB RAM
GIGABYTE R9 280 Ultra Durable VGA 3GB
Mriganka
10
Years of Service
User Offline
Joined: 16th Jun 2014
Location: Virtuality
Posted: 11th Oct 2017 12:44
The main of the entity that you will be activating from the triggerzone.
Tomik18
FPSC Reloaded TGC Backer
15
Years of Service
User Offline
Joined: 8th May 2009
Location: Slovakia
Posted: 11th Oct 2017 16:47
i need destroy no activate
My PC specs: AMD FX 4300 3,80Ghz
8 GB RAM
GIGABYTE R9 280 Ultra Durable VGA 3GB
Mr Love
19
Years of Service
User Offline
Joined: 9th Jun 2005
Playing: MAFIA 2
Posted: 12th Oct 2017 05:46
disappear.fpi shourld work... Or just use the commando destroy...

Login to post a reply

Server time is: 2024-11-23 09:31:26
Your offset time is: 2024-11-23 09:31:26