Difference between revisions of "EVENT TYPE HEARTBEAT"

From Dragon Age Toolset Wiki
Jump to: navigation, search
(split off of event)
 
m (remove redundant category)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
*<b>Sent When:</b>
+
{{needs review}}
*<b>Sent From:</b>
+
{{event
*<b>Sent To:</b>
+
|sourcefile=events_h
 
+
|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...
Parameters:
+
|from=
 
+
|to=creatures
 
+
|tocategory1=creature
[[Category:Event types|HEARTBEAT]]
+
|sortkey=HEARTBEAT
 +
|creatorname=oCreator
 +
|float0name=fHeartbeatElapsed
 +
}}

Latest revision as of 01:13, 12 February 2010

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:

Usage

case EVENT_TYPE_HEARTBEAT:
{
object oCreator = GetEventCreator(ev); //
float fHeartbeatElapsed = GetEventFloat(ev, 0); //

// insert event-handling code here

break;
}