Stopping the player from walking after casting...

Problem:
when my character attacks using a spell/range attack, it follows behind it.

Idea:
I was looking over the 'Hero' animation file included with the medieval game.
Every single frame is a linearly interpolated keyframe, which keeps its position pinned down, and i assume keeps it from
running head on into the NPC wich the spell/range weapon was targetting.

Correct me if i'm wrong?
or
Let me know if i'm right.

------------------
...(list)
()(url="http://"http://www.geocities.com/ellrx/index.html")eLL' softWare.(/url)
(
)(url="http://"http://www.geocities.com/ellrx/index.html")Par eLL' el(/url)
(*)eLL' softWare: Plotting and scheming since 1998

I haven't looked at the trinity graphics for the ranger/conjurer animation files, but I would assume that they were constructed in the same manner as the hero animation in the medieval game.

The trinity graphics have the noted problem with casting/ranged weapons and walking.

------------------
(url="http://"http://stark.evula.net/pogwalkthrough.htm")PoG Walkthrough and Compendium(/url) | (url="http://"http://stark.evula.net/plugins/dev_tools.htm")PoG Dev Tools(/url) | (url="http://"http://stark.evula.net/plugins/spells_expander.htm")Spells Expander(/url)
(url="http://"http://stark.evula.net")Stark.evula.net(/url) | (url="http://"http://www.evula.net")EVula.net(/url) | (url="http://"http://mail.ambrosiasw.com/mailman/listinfo/coldstone_dev")Coldstone-dev mailing list(/url) | (url="http://"http://ucplugs.evula.net/pog.html")PoG Upcoming Plug-Ins Directory(/url)

Quote

Originally posted by ellrx:
**
Problem:
when my character attacks using a spell/range attack, it follows behind it.**

The person playing the game usually has some control here by holding down the 'Z' key while clicking on the intended target. This works with range weapons and most (I won't say all) spells in PoG. Some spells won't cast while defending, but others do in my experience.

------------------
My Doctor said I was having too much wine, women, and song - so I gave up singing because 2 out of 3 is not so bad.
The (url="http://"http://www.evula.org/rduck/")Kingdom of Garendall(/url) sectional map is easily printed from gif format pages.
Find those areas you missed the first time around. You'll want to explore those hidden areas now made accessible with Spells Expander.

There is a more simple way of doing this... I had the same pbm and just solved it a few minutes ago 🙂
simply create an event called Freeze Player which freezes the player, and one called Defreeze Player which... well you guessed wht it does... then make your spell's first frame call the Freeze player event, and the last frame cll the defreeze player event...
you might have a pbm with spells that are not "animated" but go from caster to ennemies since all the frames may not be used... I don t have a very elegant solution for this, however, here is how I cheated this: all my spells are instantly hit spells... however I created the animation so that it gives the impression of being called by the caster and move to the target... this is easy to do if you use your own (funny isn't it) and excellent turn-base mode :))) (cheeeeese)... however this won't work for range weapon such as crossbow... so I suggest that you use the Z button trick for range weapon, and my own trick for spells...
hope this will help 🙂

------------------
God is real... unless declared integer...
Watashi wa Iori Yagami no gakuse-desu
My RPG's homepage: (url="http://"http://darkrising.free.fr/")http://darkrising.free.fr/(/url)