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 / Whats wrong with this script?

Author
Message
Frag Monkey
17
Years of Service
User Offline
Joined: 26th Feb 2007
Location:
Posted: 3rd Mar 2007 20:24
Well I tried writing a simple script where if an entity is activated, it will start a timer and after 750 miliseconds, the entity will destroy itself...
But it doesn't work

xplosys
18
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 4th Mar 2007 02:57
Quote: ":state=1,activated=1:timerstart:state=2"


Too many colons:
:state=1,activated=1:timerstart,state=2

Make sure the entity is dynamic.

Best.

I'm sorry, my answers are limited. You must ask the right question.

G4fan
18
Years of Service
User Offline
Joined: 21st Oct 2006
Location: in my car, driving on and on. . .
Posted: 4th Mar 2007 14:26
Quote: ":state=2,timergreater=750:destroy"

I'm no expert, but shouldn't the command "destroy" be an action?

Best of Luck,
G4fan

My first game: "Wars of Crime"-35% completed
Nue B
19
Years of Service
User Offline
Joined: 20th Nov 2005
Location: Indy
Posted: 4th Mar 2007 19:05
Here, Try this!




Login to post a reply

Server time is: 2024-11-23 11:57:21
Your offset time is: 2024-11-23 11:57:21