07-11-2011, 15:29
Hey guys there is a way to do this?
level waittill("event" or "that event");
level waittill("event" or "that event");
|
Help level waittill("event" or " this event");
|
|
07-11-2011, 15:29
Hey guys there is a way to do this?
level waittill("event" or "that event");
07-11-2011, 15:35
level notify("event" or "that event");
Go home IW.... your drunk.
Youtube: http://www.youtube.com/user/TheMrStacie Twitter: https://twitter.com/#!/rotceh_dnih ![]()
07-11-2011, 15:42
HE is being serious..
PHP Code: randomcode()
{
self waittill("death")
if(self = level.importantperson)
{
level notify("important_person_dead")
}
}
morerandom()
{
level waittill("important_person_dead")
...
}
Use this function
Code: waittill_any( string1, string2, string3, string4, string5 )
{
assert( IsDefined( string1 ) );
if ( IsDefined( string2 ) )
self endon( string2 );
if ( IsDefined( string3 ) )
self endon( string3 );
if ( IsDefined( string4 ) )
self endon( string4 );
if ( IsDefined( string5 ) )
self endon( string5 );
self waittill( string1 );
}Just put #include common_scripts\utility; on top of your script file and then use waittill_any("bla","blaa");
07-11-2011, 16:06
lol that will hurt his head i think
Go home IW.... your drunk.
Youtube: http://www.youtube.com/user/TheMrStacie Twitter: https://twitter.com/#!/rotceh_dnih ![]()
07-11-2011, 16:19
It even hurt pozzuh's head for some while xd
07-11-2011, 16:20
self waittill_any("death", "disconnect", "3", "4", "5");
red = optional |
| Users browsing this thread: |
| 1 Guest(s) |