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') |
BryanDerksen (Talk | contribs) |
||
Line 5: | Line 5: | ||
|from= | |from= | ||
|to= | |to= | ||
+ | |creatorname=oCreatorAOE | ||
+ | |creatordesc={{undocumented}} | ||
+ | |object0name=oCreatorAOE2 | ||
+ | |object0desc={{undocumented}} | ||
+ | |int0name=iAbility | ||
+ | |int0desc={{undocumented}} | ||
}} | }} | ||
+ | |||
+ | From careaofeffectobject.cpp: | ||
+ | |||
+ | :pHeartBeatEvent->SetCreator(m_oidCreator); | ||
+ | :pHeartBeatEvent->SetObjectId(0, GetId()); | ||
+ | :pHeartBeatEvent->SetInteger(0, GetAbilityId()); | ||
[[Category:Event types|AOE_HEARTBEAT]] | [[Category:Event types|AOE_HEARTBEAT]] |
Revision as of 17:38, 20 August 2009
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 iAbility = GetEventInteger(ev, 0); // [Undocumented]
object oCreatorAOE2 = GetEventObject(ev, 0); // [Undocumented]
// insert event-handling code here
break;
}
{
object oCreatorAOE = GetEventCreator(ev); // [Undocumented]
int iAbility = GetEventInteger(ev, 0); // [Undocumented]
object oCreatorAOE2 = GetEventObject(ev, 0); // [Undocumented]
// insert event-handling code here
break;
}
From careaofeffectobject.cpp:
- pHeartBeatEvent->SetCreator(m_oidCreator);
- pHeartBeatEvent->SetObjectId(0, GetId());
- pHeartBeatEvent->SetInteger(0, GetAbilityId());