Difference between revisions of "EVENT TYPE HEARTBEAT"
From Dragon Age Toolset Wiki
BryanDerksen (Talk | contribs) (found in player_core) |
BryanDerksen (Talk | contribs) (update with information from ccreature.cpp) |
||
Line 4: | Line 4: | ||
|when= Legacy Heartbeat event. Left for the consumption of modders. Be careful with it, it's not nice to run on a lot of creatures... | |when= Legacy Heartbeat event. Left for the consumption of modders. Be careful with it, it's not nice to run on a lot of creatures... | ||
|from= | |from= | ||
− | |to= | + | |to=creatures |
+ | |tocategory1=creature | ||
+ | |sortkey=HEARTBEAT | ||
+ | |creatorname=oCreator | ||
+ | |float0name=fHeartbeatElapsed | ||
}} | }} | ||
− | |||
− |
Revision as of 18:15, 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:
- events_h
- Sent when:
- Legacy Heartbeat event. Left for the consumption of modders. Be careful with it, it's not nice to run on a lot of creatures...
- Sent from:
- Sent to:
- creatures
- Parameters:
-
- Creator: [Undocumented]
- Float 0: [Undocumented]
Usage
case EVENT_TYPE_HEARTBEAT:
{
object oCreator = GetEventCreator(ev); //
float fHeartbeatElapsed = GetEventFloat(ev, 0); //
// insert event-handling code here
break;
}
{
object oCreator = GetEventCreator(ev); //
float fHeartbeatElapsed = GetEventFloat(ev, 0); //
// insert event-handling code here
break;
}