Camp times

From MyGamingTalk
Revision as of 21:05, 13 July 2021 by Palota (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Omni-Bot_Map_Scripting Goal Camp Times


If you want to change the camp times of certain goals within a map via script you need to use "SetMapGoalProperties".

Note: if you change the camp times in the map this will override those.

<syntaxhighlight lang="java">

syntax: SetMapGoalProperties( Goal, table )
example: SetMapGoalProperties( "ATTACK_.*", {mincamptime=15, maxcamptime=30} ); 

</syntaxhighlight>