Name | Type | is_array | initial_value |
AI_Player10_Air | integer | No | |
AI_Player11_Air | integer | No | |
AI_Player12_Air | integer | No | |
AI_Player1_Air | integer | No | |
AI_Player2_Air | integer | No | |
AI_Player3_Air | integer | No | |
AI_Player4_Air | integer | No | |
AI_Player5_Air | integer | No | |
AI_Player6_Air | integer | No | |
AI_Player7_Air | integer | No | |
AI_Player8_Air | integer | No | |
AI_Player9_Air | integer | No | |
CargoEvent | real | No | |
CargoTransportGroup | group | Yes | |
CargoTransportUnit | unit | Yes | |
CEvBlock | boolean | Yes | |
CEvNext | integer | Yes | |
CEvPrev | integer | Yes | |
CEvSpecial | boolean | Yes | |
CEvUnloadTimer | timer | No | |
DeathEvent | real | No | |
Defeat_Group | group | No | |
DEvAbility | abilcode | No | |
DEvBlock | boolean | Yes | |
DEvList | integer | Yes | |
DEvRemoved | boolean | Yes | |
DEvTimer | timer | No | |
DialogButton | button | Yes | |
DifficultyDialog | dialog | No | |
Hashtable | hashtable | No | |
IsUnitAlive | boolean | Yes | |
IsUnitReincarnating | boolean | Yes | |
MapType | integer | No | |
MoveGroup | group | No | |
Player10Victory | group | No | |
Player11Victory | group | No | |
Player12Victory | group | No | |
Player1Victory | group | No | |
Player2Victory | group | No | |
Player3Victory | group | No | |
Player4Victory | group | No | |
Player5Victory | group | No | |
Player6Victory | group | No | |
Player7Victory | group | No | |
Player8Victory | group | No | |
Player9Victory | group | No | |
SuperweaponsDialog | dialog | No | |
TEMP_Point | location | No | |
TEMP_Point2 | location | No | |
TEMP_PointAI | location | No | |
TEMP_PointAI2 | location | No | |
TEMP_PointAIGarrison | location | No | |
TEMP_PointCharge | location | No | |
TEMP_PointChargePos | location | No | |
TEMP_PointChargePos2 | location | No | |
TEMP_PointCT1 | location | No | |
TEMP_PointCT2 | location | No | |
TEMP_PointDetonate | location | No | |
TEMP_PointEmpower | location | No | |
TEMP_PointFear | location | No | |
TEMP_PointFear2 | location | No | |
TEMP_PointFuse | location | No | |
TEMP_PointInfect | location | No | |
TEMP_PointMeltdown | location | No | |
TEMP_PointMerge | location | No | |
TEMP_PointMindControl | location | No | |
TEMP_PointPlagueCloud | location | No | |
TEMP_PointRadiating | location | No | |
TEMP_PointRadiating2 | location | No | |
TEMP_PointSelfDestruct | location | No | |
TEMP_PointSMarker | location | No | |
TEMP_PointSoundBunkerA | location | No | |
TEMP_PointSoundDreadnoughtA | location | No | |
TEMP_PointSoundDreadnoughtD | location | No | |
TEMP_PointSoundHangar | location | No | |
TEMP_PointSoundHangar2 | location | No | |
TEMP_PointSoundPhantomD | location | No | |
TEMP_PointSoundStimpack | location | No | |
TEMP_PointSoundSupportBotR | sound | No | |
TEMP_PointSoundWard | location | No | |
TEMP_PointSoundWarp | location | No | |
TEMP_PointSpark | location | No | |
TEMP_PointTransport | location | No | |
TEMP_PointTransportWorker | location | No | |
TEMP_PointTransportWorker2 | location | No | |
TEMP_PointUnload | location | No | |
TEMP_PointXelnagaT1 | location | No | |
TEMP_RegionWorker | rect | No | |
TEMP_Townhall | unit | No | |
TempInteger | integer | No | |
UDex | integer | No | |
UDexGen | integer | No | |
UDexNext | integer | Yes | |
UDexPrev | integer | Yes | |
UDexRecycle | integer | No | |
UDexUnits | unit | Yes | |
UDexWasted | integer | No | |
UnitIndexerEnabled | boolean | No | |
UnitIndexEvent | real | No | |
Victory_Group | group | No | |
Xelnaga_Tower_1visibility | fogmodifier | No |
function Trig_orders_Actions takes nothing returns nothing
local integer order = GetIssuedOrderId()
call BJDebugMsg(GetUnitName(GetOrderedUnit()) + " has been ordered " + OrderId2String(order)+ " ("+I2S(order)+")")
endfunction
function InitTrig_orders takes nothing returns nothing
local trigger t = CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(t, EVENT_PLAYER_UNIT_ISSUED_TARGET_ORDER )
call TriggerRegisterAnyUnitEventBJ(t, EVENT_PLAYER_UNIT_ISSUED_POINT_ORDER )
call TriggerRegisterAnyUnitEventBJ(t, EVENT_PLAYER_UNIT_ISSUED_ORDER )
call TriggerAddAction(t, function Trig_orders_Actions)
endfunction