EVENT TYPE AOE HEARTBEAT

From Dragon Age Toolset Wiki
Jump to: navigation, search

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:

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;
}

Remarks

Relevant Eclipse engine code:

<cpp>

   pHeartBeatEvent->SetCreator(m_oidCreator);
   pHeartBeatEvent->SetObjectId(0, GetId());
   pHeartBeatEvent->SetInteger(0, GetAbilityId());

</cpp>