EVENT TYPE PARTYMEMBER ADDED
From Dragon Age Toolset Wiki
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:
- Party member added to active party using the party GUI
- Sent from:
- Sent to:
- module
- Parameters:
-
- Creator: Module
- Object 0: The party member being added
Usage
case EVENT_TYPE_PARTYMEMBER_ADDED:
{
object oFollower = GetEventObject(ev, 0); // The party member being added
// insert event-handling code here
break;
}
{
object oFollower = GetEventObject(ev, 0); // The party member being added
// insert event-handling code here
break;
}
The core script handling this event will create an EVENT_TYPE_OBJECT_ACTIVE event, targeting the party-member selected.
Mods that wish to alter behavior when new party members enter the world should override or listen to EVENT_TYPE_OBJECT_ACTIVE. Otherwise your script may fire before the creature is made active.