i was wondering how to get the position for this attack via scripting?
making an enemy perform an aoe stun attack in front of him
Débuté par
gordonbrown82
, juil. 28 2010 01:25
#1
Posté 28 juillet 2010 - 01:25
#2
Posté 28 juillet 2010 - 08:10
#3
Posté 28 juillet 2010 - 08:27
ha ha there it is. i was looking through the archives but couldn't find it. thanks.
#4
Posté 28 juillet 2010 - 09:05
what does vMyCreatureOrientation.x represent? i don't understand how an orientation can be represented with x and y values instead of a degree. is it that stuff about having a circle with a radius of 1 and the x and y values represents different positions on the circle?
vector vFinalPosition = Vector(vMyCreatureOrientation.x * DISTANCE_TO_FINAL_POSITION + vMyCreaturePosition.x, vMyCreatureOrientation.y * DISTANCE_TO_FINAL_POSITION + vMyCreaturePosition.y, vMyCreaturePosition.z);
vector vFinalPosition = Vector(vMyCreatureOrientation.x * DISTANCE_TO_FINAL_POSITION + vMyCreaturePosition.x, vMyCreatureOrientation.y * DISTANCE_TO_FINAL_POSITION + vMyCreaturePosition.y, vMyCreaturePosition.z);
#5
Posté 29 juillet 2010 - 03:24





Retour en haut







