База
Список событий
A
- ActiveUnitChanged ( un: Целое )
unit un is active unit
- ApemanTamed ( ape: Целое, sci: Целое )
when Apeman ape is tamed by scientist sci
- ArtifactLoaded ( un: Целое, size: Целое )
when artifact loaded to unit un
- ArtifactResearchComplete ( lab: Целое )
when artifact research is finished in lab
- ArtifactUnloaded ( un: Целое, size: Целое )
when artifact unloaded from unit un
- ArtifactUsed ( side: Целое, number: Целое, p1: Целое, p2: Целое )
when artifact (by icon number of side) used to unit p1, or to place [p1,p2], or instant
B
- BehemothConstructed ( un: Целое )
when behemoth constructed
- BuildingCaptured ( build: Целое, origside: Целое, eng: Целое )
when building build of side origside was captured by engineer eng
- BuildingComplete ( build: Целое )
when building build construction is finished
- BuildingStarted ( build: Целое, hum: Целое )
when building build construction is started by hum
C
- Command ( comm: Целое )
when tasks assigned by command comm (constants in UDatStr.pas - prikaz...)
- Contact ( side1: Целое, side2: Целое )
detects contact (first attack, or after more then 1000 ticks); always side1<side2
D
E
- EndTheMissionRaised ( )
when player click on button 'End the Mission' (variable end_the_mission_allowed must be true)
- EnterBuilding ( building: Целое, un: Целое )
when unit un enter building
- EvacuateVehicle ( veh )
when human hum leaves burning vehicle veh
H
- HumanDestroyed ( un: Целое, side: Целое, nation: Целое, x: Целое, y: Целое, direction: Целое, sex: Целое, class: Целое )
when human un has to be completly destroyed (you cannot prevent it now, it is too late)
L
- LeaveBuilding ( building: Целое, un: Целое )
when unit un leave building
M
- MastodonTamed ( mast: Целое, noble: Целое )
when mastodon mast is tamed by sheik noble
- McAttackDone ( mcid: Целое, surv: Целое )
McAttack finished with surv survivers
- McAttackOutOfFuel ( mcid: Целое, un: Целое )
A vehicle un in McAttack macro mcid is running out of fuel
- McDefendReturnsUnit ( mcid: Целое, unit: Целое )
McDefend stops to use an unit
- McDefendTakesUnit ( mcid: Целое, unit: Целое )
McDefend start to use an unit to do defend tasks
- McDone ( mcid: Целое, state: Целое )
macro mcid closes with state state
- McPatrolOutOfFuel ( mcid: Целое, un: Целое )
A vehicle un in McPatrol macro mcid is running out of fuel
- McPatrolSeesEnemy ( mcid: Целое, un: Целое )
McPatrol mcid sees an enemy unit un
- McRegistryResultChanges ( mcid: Целое, count: Целое, strength: Целое )
McRegistration tick returns different result than previous tick
- McRepairCapturedVehicle ( mcid: Целое, unit: Целое )
when McRepair captures vehicle
- McRepairReturnsUnit ( mcid: Целое, unit: Целое )
McRepair stops to use an unit
- McRepairSavedVehicle ( mcid: Целое, unit: Целое )
when McRepair saves vehicle in repv_area
- McRepairTakesUnit ( mcid: Целое, unit: Целое )
McRepair start to use an unit to repair or to be repaired
- McSNeedCrates ( mcid: Целое, unit: Целое )
when McSkirmish need to search crates (unit recommended) or stops to need it (unit=0)
- McSVehicleAdded ( veh: Целое, mcid: Целое, vehgroup: Целое, num: Целое )
when constructed vehicle is added to vehgroup of McSkirmish
- McWithdrawReturnsUnit ( mcid: Целое, unit: Целое )
McWithdraw stops to use an unit
- McWithdrawTakesUnit ( mcid: Целое, unit: Целое )
McWithdraw start to use an unit to withdraw
R
- ResearchCancel ( tech: Целое, lab: Целое )
when technology tech research is cancelled in lab
- ResearchComplete ( tech: Целое, lab: Целое )
when technology tech research is finished in lab
- ResearchStarted ( tech: Целое, lab: Целое )
when technology tech research is started in lab
S
T
- TigerTamed ( tig: Целое, noble: Целое )
when tiger tig is tamed by sheik noble
U
- UnitDestroyed ( un: Целое )
when unit un has to be completly destroyed (you cannot prevent it now, it is too late)
- UnitGoesFromRed ( un: Целое )
when unit's un lives goes up from red
- UnitGoesToRed ( un: Целое )
when unit's un lives goes to red (humans fall, vehicles and building are burning)
- UnitGoesToSleep ( un: Целое )
when unit's un slept because of soporific ammunition (humans fall)
- UnitKamikazed ( un: Целое )
when kamikaze-apeman or self-propelled-bomb attacks
- UnitTeleported ( tel: Целое, un: Целое )
unit un was teleported by teleport tel
- UpgradeComplete ( build: Целое )
when building build upgrade is finished
V
- VehicleCaptured ( vehnew: Целое, vehold: Целое, origside: Целое, hum: Целое )
when vehicle vehold of side origside was captured by hum and was renumbered
- VehicleConstructed ( veh: Целое, fact: Целое )
when vehicle veh is constructed in factory fact
- VehicleConstructionStarted ( fact: Целое, chass: Целое, eng: Целое, cntrl: Целое, weap: Целое )
when construction of vehicle is started in factory fact
- VehicleDestroyed ( un: Целое, side: Целое, nation: Целое, x: Целое, y: Целое, direction: Целое, chass: Целое, control: Целое, engine: Целое, weap: Целое )
when vehicle un has to be completly destroyed (you cannot prevent it now, it is too late)
W
- WeaponPlaced ( build: Целое, fact: Целое )
when weapon is constructed in factory fact and placed to building build