Difference between revisions of "EVENT TYPE AOE HEARTBEAT"
From Dragon Age Toolset Wiki
BryanDerksen (Talk | contribs) (Created page with '{{needs review}} {{event |sourcefile=script.ldf |when= |from= |to= }} AOE_HEARTBEAT') |
m (Adding category) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{needs review}} | {{needs review}} | ||
{{event | {{event | ||
− | |sourcefile=script.ldf | + | |sourcefile = script.ldf |
− | |when= | + | |sourcemodule = |
− | |from= | + | |sortkey = AOE_HEARTBEAT |
− | |to= | + | |when = |
+ | |from = | ||
+ | |to = | ||
+ | |tocategory1 = AOE | ||
+ | |tocategory2 = | ||
+ | |creatorname = oCreator | ||
+ | |creatordesc = {{undocumented}} | ||
+ | |object0name = oCreator2 | ||
+ | |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> |
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>