Page 2 of 2
Posted: Sun May 04, 2003 12:32 pm
by Butch
mohaa_rox wrote:THis works for an AI:
$stupidAI waitexec global/standstill.scr
OR
$stupidAI waitexec global/disable_ai.scr
Right?
And a driveable tank:
$mytank waitthread global/vehicles_thinkers.scr::players_tank
Mountable jeep:
$myjeep waitthread global/vehicles_thinker.scr::player_jeep_controller
but could you do a jeep where you have a BAR instead of a 30 cal?
Posted: Sun May 04, 2003 12:51 pm
by mohaa_rox
Well, change the model of the 30cal to the bipod BAR.
Posted: Sun May 04, 2003 1:26 pm
by jv_map
Bjarne BZR wrote:Oh, and I found a command named 'throw( String label )' with the chrystal clear explanation: "Throws to the specified label.".
As my guess here is that its not an Exception throw, what is it? Anyone?
Hmm well possibly it's just another goto command.
It may also be an exception throw, since try and catch are mentioned in the script files.txt file. I have no idea how to use these commands though, I also don't know if they work at all

Posted: Sun May 04, 2003 1:37 pm
by Bjarne BZR
Hey! Your right! There is a try / catch defined! ( I'm a bit blind sometimes )