Game events

Page is a WIP

OnAbilityComplete: key: ability value:table key: PropertyBagGroupID value:number key: PropertyBagGroupModPackID value:number key: PropertyBagGroupType value:number key: executer value:table key: EntityID value:number key: target value:table key: EntityID value:number key: earlyExit value:boolean

OnAbilityComplete: key: ability value:table key: PropertyBagGroupID value:number key: PropertyBagGroupModPackID value:number key: PropertyBagGroupType value:number key: executer value:table key: EntityID value:number key: target value:table key: x value:number key: y value:number key: z value:number key: earlyExit value:boolean

OnAbilityExecuted: key: executer value:table key: EntityID value:number key: target value:table key: EntityID value:number key: ability value:table key: PropertyBagGroupID value:number key: PropertyBagGroupModPackID value:number key: PropertyBagGroupType value:number

OnAbilityExecuted: key: executer value:table key: EntityID value:number key: target value:table key: x value:number key: y value:number key: z value:number key: ability value:table key: PropertyBagGroupID value:number key: PropertyBagGroupModPackID value:number key: PropertyBagGroupType value:number

OnBroadcastMessage: key: type value:number key: player value:table key: PlayerID value:number key: message value:string

OnBuildItemComplete: key: player value:table key: PlayerID value:number key: pbg value:table key: PropertyBagGroupID value:number key: PropertyBagGroupModPackID value:number key: PropertyBagGroupType value:number key: spawnedSquad value:table key: SquadID value:number

OnConstructionCancelled: key: player value:table key: PlayerID value:number key: pbg value:table key: PropertyBagGroupID value:number key: PropertyBagGroupModPackID value:number key: PropertyBagGroupType value:number key: entity value:table key: EntityID value:number

OnConstructionComplete: key: player value:table key: PlayerID value:number key: pbg value:table key: PropertyBagGroupID value:number key: PropertyBagGroupModPackID value:number key: PropertyBagGroupType value:number key: entity value:table key: EntityID value:number

OnConstructionStart: key: player value:table key: PlayerID value:number key: pbg value:table key: PropertyBagGroupID value:number key: PropertyBagGroupModPackID value:number key: PropertyBagGroupType value:number key: entity value:table key: EntityID value:number

OnDamageReceived: key: attacker value:table key: EntityID value:number key: currentHealth value:number key: victim value:table key: EntityID value:number key: shieldDamage value:number key: damage value:number key: attackerOwner value:table key: PlayerID value:number key: isRepairing value:boolean key: victimSquad value:table key: SquadID value:number

OnDamageReceived: key: attacker value:table key: EntityID value:number key: victimOwner value:table key: PlayerID value:number key: victim value:table key: EntityID value:number key: shieldDamage value:number key: damage value:number key: attackerOwner value:table key: PlayerID value:number key: currentHealth value:number key: isRepairing value:boolean

OnDamageReceived: key: attacker value:table key: EntityID value:number key: victimOwner value:table key: PlayerID value:number key: victim value:table key: EntityID value:number key: shieldDamage value:number key: damage value:number key: attackerOwner value:table key: PlayerID value:number key: currentHealth value:number key: isRepairing value:boolean key: victimSquad value:table key: SquadID value:number

OnDamageReceived: key: attacker value:table key: EntityID value:number key: victimOwner value:table key: PlayerID value:number key: victim value:table key: EntityID value:number key: shieldDamage value:number key: damage value:number key: currentHealth value:number key: isRepairing value:boolean

OnDamageReceived: key: victimOwner value:table key: PlayerID value:number key: victim value:table key: EntityID value:number key: shieldDamage value:number key: damage value:number key: currentHealth value:number key: isRepairing value:boolean

OnEntityKilled: key: numRemainingEntities value:number key: victim value:table key: EntityID value:number key: deathReason value:userdata

OnEntityKilled: key: numRemainingEntities value:number key: victim value:table key: EntityID value:number key: deathReason value:userdata key: victimOwner value:table key: PlayerID value:number

OnEntityKilled: key: numRemainingEntities value:number key: victim value:table key: EntityID value:number key: deathReason value:userdata key: victimOwner value:table key: PlayerID value:number key: killer value:table key: EntityID value:number

OnEntityKilled: key: numRemainingEntities value:number key: victim value:table key: EntityID value:number key: deathReason value:userdata key: victimOwner value:table key: PlayerID value:number key: victimSquad value:table key: SquadID value:number key: killer value:table key: EntityID value:number

OnEntityKilled: key: numRemainingEntities value:number key: victim value:table key: EntityID value:number key: deathReason value:userdata key: victimSquad value:table key: SquadID value:number

OnEntityKilled: key: numRemainingEntities value:number key: victim value:table key: EntityID value:number key: deathReason value:userdata key: victimSquad value:table key: SquadID value:number key: killer value:table key: EntityID value:number

OnPlayerAddResource: key: resources value:table key: action value:number key: wood value:number key: stone value:number key: militia_hre value:number key: gold value:number key: popcap value:number key: command value:number key: food value:number key: player value:table key: PlayerID value:number

OnPlayerBeingAttacked: key: player value:table key: PlayerID value:number

OnPlayerKilled: key: player value:table key: PlayerID value:number

OnProjectileFired: key: projectile value:table key: EntityID value:number key: attacker value:table key: EntityID value:number

OnProjectileFired: key: projectile value:table key: EntityID value:number key: target value:table key: EntityID value:number

OnProjectileFired: key: projectile value:table key: EntityID value:number key: target value:table key: EntityID value:number key: attacker value:table key: EntityID value:number

OnSquadKilled: key: lastMember value:table key: EntityID value:number key: victim value:table key: SquadID value:number

OnSquadKilled: key: lastMember value:table key: EntityID value:number key: victim value:table key: SquadID value:number key: killer value:table key: EntityID value:number

OnStrategicPointChanged: key: strategicPointEntity value:table key: EntityID value:number key: changeType value:number

OnStrategicPointChanged: key: strategicPointEntity value:table key: EntityID value:number key: instigatorSquad value:table key: SquadID value:number key: changeType value:number

OnStrategicPointChanged: key: strategicPointOwner value:table key: PlayerID value:number key: strategicPointEntity value:table key: EntityID value:number key: instigatorSquad value:table key: SquadID value:number key: changeType value:number

OnUpgradeCancelled: key: upgrade value:table key: PropertyBagGroupID value:number key: PropertyBagGroupModPackID value:number key: PropertyBagGroupType value:number key: executer value:table key: PlayerID value:number

OnUpgradeComplete: key: upgrade value:table key: PropertyBagGroupID value:number key: PropertyBagGroupModPackID value:number key: PropertyBagGroupType value:number key: executer value:table key: EntityID value:number

OnUpgradeRemoved: key: upgrade value:table key: PropertyBagGroupID value:number key: PropertyBagGroupModPackID value:number key: PropertyBagGroupType value:number key: executer value:table key: PlayerID value:number

OnUpgradeStart: key: upgrade value:table key: PropertyBagGroupID value:number key: PropertyBagGroupModPackID value:number key: PropertyBagGroupType value:number key: executer value:table key: EntityID value:number