Okay... Now i need some assistance on this one. After few modifications, i was able to get mobs to load into the MUD with player login. However, i did stumble upon one small problem. When you enter the vehicle, it can't write the vnum, because the thing you are entering is structure-based. So... Like, i want the actual NUMBER of the vehicle, and it's just taking the victim. (struct char_data *mount) This is a HACK of the mount code: // mount_char() / fr: Daniel Koepke (dkoepke@california.com) // Sets _ch_ to mounting _mount_. This does not make any checks // what-so-ever to see if the _mount_ is mountable, etc. That is // left up to the calling function. This does not present any // messages, either. void mount_char(struct char_data *ch, struct char_data *mount) { DRIVING(ch) = mount; DRIVEN_BY(mount) = ch; } Now... What i want to add from here is an integer to find the mob's vnum, and then basically define GET_OWNED_MOB(ch) to it. That's my load vnum for the vehicle. So, what it SHOULD look like, although impossible because of different storage types, is this. void mount_char(struct char_data *ch, struct char_data *mount) { DRIVING(ch) = mount; DRIVEN_BY(mount) = ch; GET_OWNED_MOB(ch) = mount; } So how do i get the vnum of the mount? -CyberMan, melting brains with a nonsense letter. ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com +------------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html | +------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/15/00 PST