All pastes #89745 Raw Edit

losl

public c v1 · immutable
#89745 ·published 2006-07-16 22:56 UTC
rendered paste body
   void main(){    object oPC = GetItemActivatedTarget();    if(oPC != OBJECT_INVALID) { //Only Fire when there is a valid target        location locCopySpot = GetLocation(oPC);        ApplyEffectAtLocation(DURATION_TYPE_INSTANT,EffectVisualEffect(VFX_FNF_HOWL_WAR_CRY_FEMALE),locCopySpot); // This line is debug to see if location is right        object oCopy = CopyObject(oPC, locCopySpot, OBJECT_INVALID, "c_doppleganger");        //AddHenchman(oPC, oClone);        //DestroyObject(oClone, 240.0);        //ApplyEffectToObject(DURATION_TYPE_PERMANENT, EffectDeaf(), oPC);    }}