attack just ahead

monomartin

Active member
hola ayer hice una pregunta y hoy me encuentro que no esta en la pagina, espero que no la eliminen.
la pregunta es, hay algún método para que un enemigo ataque solo  por delante del jugador, obligar al enemigo a  atacar solo  por el frente del jugador, es decir si mi jugador esta de espaldas al enemigo, el este obligado a dar la vuelta  para enfrentarme y atacarme solo por delante y no por la espalda de mi jugador, algún script que haga esto ?
http://www.subeimagenes.com/img/sprites-1384069.html

espero me entiendan a lo que me refiero, gracias

good now in English
hello a question I did yesterday and today I find myself not on the page , I hope you do not remove it .
the question is , is there any way for an enemy attack just in front of the player, forcing the enemy to attack only the front of the player , ie if my player is back to the enemy, he is bound to turn around to face and attack only ahead and not back my player, a script to do this?
 
I'm not sure I understand the question, but there is a command named "forcedirection" that can force an attack to turn the defender in a specific direction.

For exemple "forcedirection -1" will force defender to face attacker. Like dropv and such, this command is set on attack boxes basis.

Code:
attack 10 10 20 30 5 1 0 0 0
forcedirection -1

But if the question is how to prevent an enemy from attacking player if player is not facing enemy, then I'm not sure there is a simple & ready to go solution for this.
 
monomartin said:
is there any way for an enemy attack just in front of the player, forcing the enemy to attack only the front of the player , ie if my player is back to the enemy, he is bound to turn around to face and attack only ahead and not back my player, a script to do this?

If you want enemy not to attack when behind player, that's doable with script but if you want enemy to walk around to player's frontside before attacking, that's tougher to do
Moreover, player can fool this enemy by turning around before enemy faces player :)
 
of course that's what I'm looking to attack the enemy from behind, looking to face the player to attack only when they are face to face, if I stay back to anemigo , he forced to turn to attack
 
Back
Top Bottom