Hi all!
Every time i try to use EffectResurrection() on a creature it doesn nothing.
I created an item wich apply the effect when used in a creature, and again, does nothing.
Quote
#include "x2_inc_switches"
#include "70_inc_spells"#include "x2_inc_spellhook"void main(){int nEvent =GetUserDefinedItemEventNumber();if(nEvent != X2_ITEM_EVENT_ACTIVATE)return;object oPC = GetItemActivatedTarget();ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectResurrection(), oPC);}
I use it on creatures that has the No permanent death unchecked. And they leaves a lootable corpse, where i use the item.
And also i used it on a zombie, wich after 20 seconds of death (delayCommand) should resurrect! but nothing.
why?





Retour en haut






