F
FR34k
Newbie
Is there such a function? waittill_or_timeout();
or any timeout function of that sort?
or any timeout function of that sort?
Is there such a function? waittill_or_timeout();
or any timeout function of that sort?
//commonscripts\utility
/*
=============
///ScriptDocBegin
"Name: waittill_notify_or_timeout( <msg> , <timer> )"
"Summary: "
"Module: Entity"
"CallOn: An entity"
"MandatoryArg: <param1>: "
"OptionalArg: <param2>: "
"Example: "
"SPMP: both"
///ScriptDocEnd
=============
*/
waittill_notify_or_timeout( msg, timer )
{
self endon( msg );
wait( timer );
}