Herm I'd say try copying the stand, sit, or rest command since they both set positions. Than when you get to a fly sector put a place in act.movement.c where it checks to see if the player can enter a flight room, that is if you defined the sector flight previously there, add a statement to see if the player is in the flying postion. Laterz. -Smillie, Imp Maximum Carnage carnage.mudsrus.com 6669 On Wed, 11 Nov 1998, A Chyld wrote: > ..Ok, so I'm trying to add a position to my mud..I'm adding > POS_FLYING..Basically, I've added a pixie race, and I want Pixies to be > able to fly without having to cast a spell - just by typing fly..I've > added POS_FLYING to stucts.h and I've added "is hovering here." to > act.informative.c.. > > ..But now I'm pretty much stuck - I'm not sure how to add the > command itself, or where it should go (haha)..I've already got races > defined in structs.h, ect. as per the races snippet..So - I know this > can't be explained in a simple one word response, but I was hoping > someone out ther could give me a little more direction.. > > Jonathan Grant > > > +------------------------------------------------------------+ > | Ensure that you have read the CircleMUD Mailing List FAQ: | > | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html | > +------------------------------------------------------------+ > +------------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html | +------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/15/00 PST