GetDistance and Debug.Notification ?'s

Post » Tue Feb 05, 2013 8:08 pm

So I'm making a custom summon familiar spell. The spell is completely scripted so it is placing actors not weird summon aliases. These actors have abilities that kill them (by doing a buttload of damage) if they get too far away from the player.
I'm using a condition with GetDistance - PlayerRef - > 2000.
The ability is firing short of that though, around 1400 (checked it in the console).
I tried changing it to 2500 and they die around 1800-1900 so a discrepancy of about 600.

Is this a bug? Or is there some kind of wonky calculation going on with the GetDistance?


Also I've got a Debug.Notification that fires when the familiar dies in this manner.
Is there any way to print its name to the notification without using quest/alias text replacement?
User avatar
alyssa ALYSSA
 
Posts: 3382
Joined: Mon Sep 25, 2006 8:36 pm

Return to V - Skyrim