Modifié par gordonbrown82, 13 juin 2010 - 07:23 .
making enemy create an aoe stun a bit in front of him
Débuté par
gordonbrown82
, juin 13 2010 07:20
#1
Posté 13 juin 2010 - 07:20
i've been using a heartbeat to make the boss do a stun every 6 seconds or so positioned on himself. i would however prefer to have him make a stun with the center in front of him and i suppose also learn how to not activate the stun ability through a heartbeat but rather through some tactics 2da or something. the ideal would be to have a weapon animation play, for example a sledgehammer being used and when it hits close to the ground that place will create the aoe stun.
#2
Posté 14 juin 2010 - 12:34
If you need to get a location in front of a creature, then you can do the following:
// Distance from your creature to the final position.
const float DISTANCE_TO_FINAL_POSITION = 5.0f;
object oMyCreature = GetObjectByTag("my_creature");
vector vMyCreaturePosition = GetPosition(oMyCreature);
vector vMyCreatureOrientation = GetOrientation(oMyCreature);
// Position coordinates of the location in front of your creature.
vector vFinalPosition = Vector(vMyCreatureOrientation.x * DISTANCE_TO_FINAL_POSITION + vMyCreaturePosition.x, vMyCreatureOrientation.y * DISTANCE_TO_FINAL_POSITION + vMyCreaturePosition.y, vMyCreaturePosition.z);
Modifié par _L_o_B_o_, 14 juin 2010 - 12:37 .
#3
Posté 15 juin 2010 - 12:42
if i want to activate this ability without using a heartbeat how do i do that? is there some guide for how to use the tactics system or whatever it is?
#4
Posté 15 juin 2010 - 12:46
if i want to activate this ability without using a heartbeat how do i do that? is there some guide for how to use the tactics system or whatever it is?
#5
Posté 15 juin 2010 - 01:27
What tactic do you want to set for this? I don't think you can create a timed tactic.
Further, if you need to use it with a tactic, you need to set it up as an ability.
Further, if you need to use it with a tactic, you need to set it up as an ability.





Retour en haut






