Camp times: Difference between revisions

From MyGamingTalk
m (1 revision imported)
 
m (1 revision imported)
 
(No difference)

Latest revision as of 09:02, 13 February 2023

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>