Blockland Forums > Suggestions & Requests
Is there an event to control a vehicle's path?
Pliny:
--- Quote from: SWAT One on April 21, 2013, 06:26:33 PM ---There is, but using any current Add-Ons doesn't allow the bot to drive in any evented direction. It will drive in random directions. The best solution is to put a bot in the driver's seat and just make him do the hug animation. Do NOT assign any movement events.
Yes, zonebricks would work, but you would still need the vehicle to have rotation events.
--- End quote ---
Bots can easily be commanded to jump into vehicles and then drive them in a set path without spamming or performing idle movement. This is all possible by default. When I said a vehicle can't be driven unless by a bot, I meant that it can't be made to drive without a driver of some sort.
Megaguy2:
Whoa. Neat. Does this mean if I put a bot in a back seat he'll fire?
Pliny:
Bots do shoot while in vehicles in minigames, but they don't seem able to operate Tank turrets or similar bot-weapons, and my memory's a little fuzzy on the matter. The bot development thread has a full list of the Bot events available, and there is an add-on available if you don't want to go through the trouble of eventing the bot not to do anything (though this only takes two events to do if I remember correctly.) Really, the best way to find out what bots can do is both to observe what's been done with 'em already and also to experiment.
On bots in the backseat again, I'm not sure if there's an event to make bots swap vehicle seats, and you'd also want to event the bot not to move, but only to attack (whom to attack is set via bot "teams", also default) in minigames.
Bot events right now are VERY flexible, but you need to learn and experiment with them to figure 'em out.
MARBLE MAN:
put a bot inside it
hide all the bot's nodes
car that drives it's self