[Trigger] Order unit to submerge

Status
Not open for further replies.
In GUI, there should be an Issue Order With No Target (takes orderstring/takes ordercode). Look up the order string of your submerge ability (should be "submerge"?) and use that.
 
Try this:

  • -------- Change triggering unit to whatever you want --------
  • -------- First function orders unit to submerge --------
  • -------- Second function orders it to go to surface --------
  • Custom script: call IssueImmediateOrder( GetTriggerUnit(), "submerge" )
  • Custom script: call IssueImmediateOrder( GetTriggerUnit(), "unsubmerge" )
 
Hehehe... if its MUI :grin:

Otherwise what you should do is have it in the event where if a unit is ordered to "submerge" and is in a unit group (the unit who your doing the things with would have to be added to a specified group) order unit to "unsubmerge" (use the other half of Child of Bodom's script)
 
Status
Not open for further replies.
Back
Top