onMapSingleClick: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 25: | Line 25: | ||
'''onMapSingleClick''' {grp1 move _pos; leader grp1 sidechat "Moving"; variable1 = true; | '''onMapSingleClick''' {grp1 move _pos; leader grp1 sidechat "Moving"; variable1 = true; | ||
'''onMapSingleClick''' {}} | '''onMapSingleClick''' {}} | ||
'''Comments''' | '''Comments''' |
Revision as of 17:53, 15 April 2006
onMapSingleClick command
Operand types:
command: String
Type of returned value:
Nothing
Description:
Define action performed when user clicks in map. Command receives:
If click is processed, command should return true.
Examples:
onMapSingleClick {"SoldierWB" createUnit [_pos, group player]; true}
onMapSingleClick {grp1 move _pos; leader grp1 sidechat "Moving"; variable1 = true;
onMapSingleClick {}}
Comments