Aller au contenu

Photo

making an enemy perform an aoe stun attack in front of him


  • Veuillez vous connecter pour répondre
4 réponses à ce sujet

#1
gordonbrown82

gordonbrown82
  • Members
  • 544 messages
i was wondering how to get the position for this attack via scripting?

#2
_L_o_B_o_

_L_o_B_o_
  • Members
  • 117 messages
Déjà vu =]

http://social.biowar...1/index/2873094

Modifié par _L_o_B_o_, 28 juillet 2010 - 08:11 .


#3
gordonbrown82

gordonbrown82
  • Members
  • 544 messages
ha ha there it is. i was looking through the archives but couldn't find it. thanks.

#4
gordonbrown82

gordonbrown82
  • Members
  • 544 messages
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);


#5
_L_o_B_o_

_L_o_B_o_
  • Members
  • 117 messages
Affirmative.

The image is only an example...
Image IPB

Modifié par _L_o_B_o_, 29 juillet 2010 - 03:32 .