Skipper2100 Posted December 19, 2016 Posted December 19, 2016 So I have a script that fires a spell that causes someone to disintegrate, and I want it to blame the player so that any witnesses will become hostile. The spell fires on self, and I'm using Disintegrate.RemoteCast(Target, PlayerRef) exactly like it says to do on the Wiki in order to place blame on the character, and I even added Target.Kill(PlayerRef) to the spell script itself for good measure and no matter what I do nobody becomes hostile to the player. The effect is marked as hostile... What have I done wrong?
lesi123 Posted December 19, 2016 Posted December 19, 2016 Did you remember to add the PlayerRef to the property? I'm a constant offender of this. :P
Skipper2100 Posted December 19, 2016 Author Posted December 19, 2016 I'm almost certain I did, I replaced it with Game.GetPlayer() just to be sure and it still didn't work...
Recommended Posts