Difference between revisions of "EVENT TYPE AOE HEARTBEAT"
From Dragon Age Toolset Wiki
BryanDerksen (Talk | contribs) |
m (Updating template) |
||
Line 1: | Line 1: | ||
{{needs review}} | {{needs review}} | ||
{{event | {{event | ||
− | |sourcefile=script.ldf | + | |sourcefile = script.ldf |
− | |when= | + | |sourcemodule = |
− | |from= | + | |sortkey = AOE_HEARTBEAT |
− | |to= | + | |when = |
− | |creatorname=oCreatorAOE | + | |from = |
− | |creatordesc={{undocumented}} | + | |to = |
− | |object0name=oCreatorAOE2 | + | |tocategory1 = |
− | |object0desc={{undocumented}} | + | |tocategory2 = |
− | |int0name= | + | |creatorname = oCreatorAOE |
− | |int0desc={{undocumented}} | + | |creatordesc = {{undocumented}} |
+ | |object0name = oCreatorAOE2 | ||
+ | |object0desc = {{undocumented}} | ||
+ | |int0name = nAbility | ||
+ | |int0desc = {{undocumented}} | ||
}} | }} | ||
− | + | == Remarks == | |
− | : | + | Relevant Eclipse engine code: |
− | + | ||
− | + | ||
− | + | <cpp> | |
+ | pHeartBeatEvent->SetCreator(m_oidCreator); | ||
+ | pHeartBeatEvent->SetObjectId(0, GetId()); | ||
+ | pHeartBeatEvent->SetInteger(0, GetAbilityId()); | ||
+ | </cpp> |
Revision as of 19:10, 21 August 2011
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 oCreatorAOE = GetEventCreator(ev); // [Undocumented]
int nAbility = GetEventInteger(ev, 0); // [Undocumented]
object oCreatorAOE2 = GetEventObject(ev, 0); // [Undocumented]
// insert event-handling code here
break;
}
{
object oCreatorAOE = GetEventCreator(ev); // [Undocumented]
int nAbility = GetEventInteger(ev, 0); // [Undocumented]
object oCreatorAOE2 = 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>