BSL:Obsolete commands: Difference between revisions
Jump to navigation
Jump to search
(dropping this here for now) |
m (wording) |
||
Line 1: | Line 1: | ||
{{:ai2_panic}} | {{:ai2_panic}} | ||
This function is not used in Oni's level scripts, which is fortunate, since it seems to crash Oni. | This function is not used in Oni's level scripts, which is fortunate, since it seems to crash Oni. If it actually worked, then passing "0" for the timer value should cause an AI to stop panicking, and passing no timer value should mean "panic forever". | ||
[[Category:Scripting tasks]] | [[Category:Scripting tasks]] |
Latest revision as of 22:06, 11 May 2017
void |
string or int |
int |
|
ai2_panic( |
ai_name or script_id, |
timer |
); |
default: -- |
-- |
-- |
This function is not used in Oni's level scripts, which is fortunate, since it seems to crash Oni. If it actually worked, then passing "0" for the timer value should cause an AI to stop panicking, and passing no timer value should mean "panic forever".