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 / Finally working script to destroy decal via Trigger Zone

Author
Message
JTheMan
17
Years of Service
User Offline
Joined: 6th Jul 2006
Location:
Posted: 8th May 2007 19:19
Hi, all!

This script uses Trigger Zone to destroy a decal when activated. I don't know if this works with switches, I have only used it with Trigger Zone.

;Artificial Intelligence Script

;Header

desc = Destroy decal if Activated

;Triggers

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

;End of Script

Hope this helps you!
Nue B
18
Years of Service
User Offline
Joined: 20th Nov 2005
Location: Indy
Posted: 8th May 2007 20:47 Edited at: 8th May 2007 21:04
nice job. I wrote one like this for someone the other day; only I used a timer to activate and destroy the decal.

Here's a link if you want to use it.

http://forum.thegamecreators.com/?m=forum_view&t=105613&b=23&p=0

uman
Retired Moderator
19
Years of Service
User Offline
Joined: 22nd Oct 2004
Location: UK
Posted: 9th May 2007 22:49
Decals have always been able to be destroyed at will using triggers or switches utilising various parameters to call the activation and such is still the case via script command.



"There are those who said this day would never come - What have they to say Now?"

Login to post a reply

Server time is: 2024-03-28 22:41:29
Your offset time is: 2024-03-28 22:41:29