Re: positions

From: Xual (
Date: 02/05/99

On Sat, 6 Feb 1999, Edward J Glamkowski wrote:

> >I don't know what your mount system looks like, but I'm assuming that
> >within your char_data struct there is a pointer to the mounted mob.  The
> >easiest way to achieve your goal is to just put a check in your "mounted
> >only" skills sorta like this:
> >
> >  if (!GET_MOUNT(ch)) {
> >    send_to_char("You can only use this skill when mounted.\r\n", ch);
> >    return;
> >  }
> That only partly works - if I want to let players
> charge into combat with a lance in order to skewer
> their opponents, that works ok, but if they don't
> kill their opponent and they start fighting, the
> lancer is moved from POS_MOUNTED to POS_FIGHTING

So don't add the POS_MOUNTED stuff... if your mount code uses it, then
maybe use the GET_MOUNT (or whatever) instead.

"Misery is boundless"
        -Xual the Torturer, on the Eve of the Sundering.

Danathara Online RPG

     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  |

This archive was generated by hypermail 2b30 : 12/15/00 PST