spawnframe entity direction

Pierwolf

Member
good day everybody.
i have  simple question (or at least i hope it's simple!  :-\ ):

when my character block an attack, it goes in this follow animation that spawns an entity.

this is the animation:
anim follow1
subentity block
spawnframe 0 0 0 0 0
loop 0
bbox 0 0 0 0
sound  data/sounds/block01.wav
offset    225 198
delay 2
move -6
frame data/chars/fighter/guard00.gif
frame data/chars/fighter/guard00.gif
...

and this is the entity:
name block
type none
shadow 0
toflip 1
lifespan 2
setlayer 9999999

palette data/chars/misc/block/block.gif #1

anim idle
loop 0
offset    225 198
delay 999
frame data/chars/misc/block/01.gif



My problem is that with the spawnframe command, the spawned entity face same direction with the spawner.

i don't want this.
what i want is that the spawned entity always face its own direction; let's say left direction.

i've tried with toflip and noflip commands, but with no effect, and i don't seem to find a solution reading the manual.

any suggestions?

thanks in advance!  :)
 
oh yeah, I haven't saw this :

facing {int}

~ This is for forcing the entity to face certain direction regardless where he/she is going.
0 = no force (default).
1 = force the entity to face right.
2 = force the entity to face left.
3 = force the entity to face same direction with level's direction.
~ Setting this allows players to play BACKWALK.
 
Back
Top Bottom