Server Help

Bot Questions - MERVBot 38 Tutorial

Cyan~Fire - Sat Nov 15, 2003 4:06 pm
Post subject: MERVBot 38 Tutorial
Anybody got it? (spawn.cpp, .h, commands.cpp)
Cyan~Fire - Sat Nov 15, 2003 4:11 pm
Post subject:
Nevermind, found it lying around on my comp.
50% Packetloss - Sat Nov 15, 2003 4:22 pm
Post subject:
Nothing has really changed except some new stuff for lvz.

Code: Show/Hide

EVENT_MoveObjects,
      /*   Move LVZ objects around on the map

         [0] lvzObject struct array
         [1] number of items in array
         [2] player ident
      */


If you add this event into gotEvent(BotEvent &event) switch, then
lvzObject *theObj= (lvzObject*)event.p[0];
will give you all the info for that lvz object. The struct for lvzObject is in spawn.h
Cyan~Fire - Sat Nov 15, 2003 4:30 pm
Post subject:
There's also the PBall stuff.

I can always lie about the CORE_MINOR_VERSION, but mightn't as well not.
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group