Difference between revisions of "EVENT TYPE AOE HEARTBEAT"
From Dragon Age Toolset Wiki
m (Updating template) |
m (Adding category) |
||
Line 7: | Line 7: | ||
|from = | |from = | ||
|to = | |to = | ||
− | |tocategory1 = | + | |tocategory1 = AOE |
|tocategory2 = | |tocategory2 = | ||
− | |creatorname = | + | |creatorname = oCreator |
|creatordesc = {{undocumented}} | |creatordesc = {{undocumented}} | ||
− | |object0name = | + | |object0name = oCreator2 |
|object0desc = {{undocumented}} | |object0desc = {{undocumented}} | ||
|int0name = nAbility | |int0name = nAbility |
Latest revision as of 20:54, 3 April 2015
The documentation on this page is incomplete, obsolete, or otherwise in need of a thorough review. The current content may provide a good starting point for this, but do not rely on its accuracy when using it to design content.
- Source:
- script.ldf
- Sent when:
- Sent from:
- Sent to:
- Parameters:
-
- Creator: [Undocumented]
- Integer 0: [Undocumented]
- Object 0: [Undocumented]
Usage
case EVENT_TYPE_AOE_HEARTBEAT:
{
object oCreator = GetEventCreator(ev); // [Undocumented]
int nAbility = GetEventInteger(ev, 0); // [Undocumented]
object oCreator2 = GetEventObject(ev, 0); // [Undocumented]
// insert event-handling code here
break;
}
{
object oCreator = GetEventCreator(ev); // [Undocumented]
int nAbility = GetEventInteger(ev, 0); // [Undocumented]
object oCreator2 = GetEventObject(ev, 0); // [Undocumented]
// insert event-handling code here
break;
}
Remarks
Relevant Eclipse engine code:
<cpp>
pHeartBeatEvent->SetCreator(m_oidCreator); pHeartBeatEvent->SetObjectId(0, GetId()); pHeartBeatEvent->SetInteger(0, GetAbilityId());
</cpp>