HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Quick Order String Question

08-30-2007, 06:41 AM#1
Karawasa
I was searching around the forums, and could not find an answer to this. My attempts to create GUI code and convert did not help either.

Basically, I am trying to prevent a certain type of unit from upgrading. I have successfully done this, but it stops all other orders without a target. Thus, I am looking for the order string to upgrade a unit. Here is the code in case you are wondering:

Trigger:
ReplicateAbuse
Collapse Events
Unit - A unit Is issued an order with no target
Collapse Conditions
(Level of Replicate for (Triggering unit)) Equal to 1
Collapse Actions
Unit - Pause (Triggering unit)
Unit - Order (Triggering unit) to Stop
Unit - Unpause (Triggering unit)
08-30-2007, 07:54 AM#2
CommanderZ
Try to print the order string before you stop the unit.