Guest User

Untitled

a guest
May 27th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. object oPC = GetNearestCreature(CREATURE_TYPE_PLAYER_CHAR, PLAYER_CHAR_IS_PC, OBJECT_SELF, 1, CREATURE_TYPE_PERCEPTION, PERCEPTION_SEEN);
  2. if (IsInConversation(OBJECT_SELF) || GetIsInCombat()) return;
  3. object oTarget;
  4. oTarget = GetObjectByTag("Tree1");
  5. int nInt;
  6. nInt = GetObjectType(oTarget);
  7. if (nInt != OBJECT_TYPE_WAYPOINT) ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_FNF_LOS_EVIL_10), oTarget);
  8. else ApplyEffectAtLocation(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_FNF_LOS_EVIL_10), GetLocation(oTarget));
  9. }
  10.  
  11. (Used Script generator to see if it would work, and looked legit.. Now I look at it and wonder why no shadowskin. I only saw this "Evil" look which I assumed is either red glow or the skin but niether show's up)
Add Comment
Please, Sign In to add comment