Talk:GetShouldAttack
Jump to navigation
Jump to search
This function returns 0 in a script. Tried, on a magic effect script, both
if (GetShouldAttack player)
and
set rSelf to GetSelf if (rSelf.GetShouldAttack player)
They returned 0 for both mudcrabs and bandits, even when console usage showed the value should be 58, 80, and 82.
--Haama 23:45, 14 October 2008 (EDT)
- Hmm... I wonder what I used in DangerSense, then... because it certainly works, and I thought I used this function... strange.
- *too lazy to load up DangerSense and look*
- Dragoon Wraith TALK 23:54, 14 October 2008 (EDT)
- Nevermind - for some reason the poison I'm using is running on the player instead of the target (need to look at SetProjectilePoison a bit more, I guess)
- --Haama 00:41, 15 October 2008 (EDT)