
Glitcherguy
Joined: Jan 28, 2008
I should really put a clever quote here...
|
Posted: Jun 5, 2008 02:20 PM
Msg. 1 of 5
How do i make one script activate another. I've tried the wake "scriptname", but it said my scriptname wasn't correct. And no i dindnt call my script scriptname...
|
|
|

Somone77
Joined: Aug 25, 2007
|
Posted: Jun 5, 2008 02:26 PM
Msg. 2 of 5
the only way to do this as far as i know is make a dorment script than wake. becuase wake activates a script that doesnt do anything yet.
|
|
|

DarkZealot
Joined: Jan 1, 2008
Time management: 40% Xbox, 30% PC, 30% Skating
|
Posted: Jun 5, 2008 06:38 PM
Msg. 3 of 5
(script dormant imsleeping (begin (sv_say "I'm awake!") ) )
(script startup wakeupcall) (begin (wake imsleeping) ) )
That's how it happens. You need a dormant script before the wake call else it won't be referenced. Edited by DarkZealot on Jun 5, 2008 at 06:48 PM
|
|
|

Donut
Joined: Sep 30, 2006
I swear I'm not actually dead
|
Posted: Jun 5, 2008 08:05 PM
Msg. 4 of 5
or you could use the sleep_until function..
|
|
|

Glitcherguy
Joined: Jan 28, 2008
I should really put a clever quote here...
|
Posted: Jun 6, 2008 12:39 AM
Msg. 5 of 5
Whats this error??
.09.08 16:36:48 [scripts line 21] i expected (script <type> <name> <expression(s)>): (script dormant moreflood)
06.09.08 16:36:48 recompiling scripts after scenarios were merged. 06.09.08 16:36:48 i expected (script <type> <name> <expression(s)>): (script dormant moreflood)
Edited by Glitcherguy on Jun 9, 2008 at 10:41 AM
|
|
|