[Ohrrpgce] [Bug 849] Accidentally walking an NPC/hero twice can misalign

bugzilla-daemon at ravenwest.dreamhost.com bugzilla-daemon at ravenwest.dreamhost.com
Tue Oct 26 08:50:07 PDT 2010


http://rpg.hamsterrepublic.com/bugzilla/show_bug.cgi?id=849

Ralph Versteegen <teeemcee at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |teeemcee at gmail.com

--- Comment #1 from Ralph Versteegen <teeemcee at gmail.com> 2010-10-26 08:50:03 PDT ---
Hmm, good idea.

We could fix this flaw in walk(npc|hero)to(X|Y) by adding a new script command,
which is like walk(npc|hero) except it takes the distance in pixels, and use
that in the scripts instead. We might want to make it undocumented. This change
would only affect scripts after being recompiled, and anyway I don't think
anyone relies on

However, doesn't walk(npc|hero) suffer the same problem? It's probably a bad
idea to make such a change to walknpc, since of course very old games use it
(or do they use some other command?) to purposefully unalign heroes/npcs. Can
we improve these commands? We could add a backcompat bitset which also causes
walk(npc|hero) to stop at a tile boundary. Actually, we should add such a bit
and make it solve ALL our alignment problems! Right?

-- 
Configure bugmail: http://rpg.hamsterrepublic.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Ohrrpgce mailing list