A script I haven't done before is an Ondeath script for a group. ie once the entire group dies, the script runs. Is there a sample script out there for this? The group will be spawned by an encounter trigger, and will not be a specific number of creatures.
Ondeath for a group
#1
Posté 15 février 2015 - 08:16
#2
Posté 15 février 2015 - 08:24
GroupOnDeathExecuteCustomScript(string sGroupName, string sScriptName) in ginc_group.
#3
Posté 15 février 2015 - 08:29
GroupOnDeathExecuteCustomScript(string sGroupName, string sScriptName) in ginc_group.
In the Ondeath script of the individual group members, or elsewhere?
#4
Posté 15 février 2015 - 09:05
Do not change the On Death script from the default for any of the group members. The death script must remain the default (or a custom one which includes the same relevant code), because this function will set a custom death script that is loaded from the default script. This function should be fired once, after the group is created and its members are defined with the other group scripts, and it can be fired from a script in any event, such as On Client Enter or when crossing a trigger.
- kamal_ aime ceci
#5
Posté 16 février 2015 - 12:56
Working now thanks to your help. ![]()
#6
Posté 16 février 2015 - 04:41
Glad to hear it.





Retour en haut






