Author Topic: [EVENT] Bot - canMountVehicles  (Read 4310 times)

Sets wether your bot can mount vehicles or not. Works for every kind of vehicle.
Requested by Spartan224 in THIS topic.


DOWNLOAD
« Last Edit: August 24, 2015, 09:13:46 AM by jes00 »

Very useful for keeping random bots out when I'm driving around. Cool event!

how about stopping bots from exiting a vehicle?

Fantastic!

What about an event to keep bots out of the vehicle, where the event would be on the vehicle spawn?

Heck yes! You are the man!

Time for mix-n-match turrets on various vehicles!

Also could you make one vehicle-targeted event that forces passengers off with three checkboxes: 1) players, 2) bots, 3) bots mounted by script?

And perhaps one that can move mounted objects to other nodes.

Would be nice if it's just a whole mounting management mod.
« Last Edit: July 01, 2015, 02:27:20 AM by SWAT One »

Also could you make one vehicle-targeted event that forces passengers off with three checkboxes: 1) players, 2) bots, 3) bots mounted by script?

And perhaps one that can move mounted objects to other nodes.

Would be nice if it's just a whole mounting management mod.
Alright. Turning this into a mount management mod. Any suggestions?

Alright. Turning this into a mount management mod. Any suggestions?

Maybe force bots on a certain seat? For example a turret on a tank, Or something of the likes?

To see each field explained, hover over the light blue sections.

Input Events:

onBotMount >> Brick, Player, Client, Minigame, Bot, Vehicle
   When a bot is mounted to a player, bot or vehicle using an event triggered by the brick.

onBotDismount >> Brick, Player, Client, Minigame, Bot, Vehicle
   When a bot is dismounted from a player, bot or vehicle using an event triggered by the brick.

onPlayerMount >> Brick, Player, Client, Minigame, Bot, Vehicle
   When a bot is mounted to a player, bot or vehicle using an event triggered by the brick.

onPlayerDismount >> Brick, Player, Client, Minigame, Bot, Vehicle
   When a bot is dismounted from a player, bot or vehicle using an event triggered by the brick.

onMountTrue >> Brick, Player, Client, Minigame, Bot, Vehicle
   Triggered when an ifMount condition is true.

onMountFalse >> Brick, Player, Client, Minigame, Bot, Vehicle
   Triggered when an ifMount condition is false.

onMountFail >> Brick, Player, Client, Minigame, Bot, Vehicle
   Triggered when a player is unable to mount a vehicle because of event restrictions.


Output Events:

Brick, Player, Bot >> ifMount  "NodeNum":(Text Box)  "Type":(Dropdown)  "Affected Lines":(Text Box)
   Checks if there is a bot or player in the selected node.

Player, Bot >> setCanMount  "ToggleVehicles":(Checkbox)  "ToggleBots":(Checkbox) 
   Lets you choose if a player or bot can mount a vehicle or bot.

Player, Bot >> setCanUnMount  "ToggleVehicles":(Checkbox)  "ToggleBots":(Checkbox) 
   Lets you choose if a player or bot can unmount a vehicle or bot.

Brick >> setMountLock  "ToggleMount":(Checkbox)  "ToggleUnMount":(Checkbox) 
   Toggles whether players and bots can get on or off the vehicle or bot spawned on this brick.

Brick, Vehicle, Bot >> forceMount  "PreferredNodeNum":(Text Box)  "ToggleNodeDeferment":(Checkbox)  "NodeListDeferment":(Text Box)  "Override":(Checkbox) 
   Forces a player or bot to mount the vehicle or bot spawned on this brick.  If the first text box is filled, the checkbox is unchecked, and the second text box is unfilled, Ex: "'1' '0' 'N/A'", then the player or bot will be forced to mount node 1 only, and any other players cannot be mounted by this event unless node 1 is emptied.  If the first text box is filled, and the checkbox is checked, and the second text box is filled, Ex: "'1' '1' '5 3 2'", then the players or bots triggered will mount first to mount 1, then to mount 5, then mount 3, and then mount 2, in order of preferment.  If players were to unmount from 5 and 2, then the event will seat node 5 again before 2.  If the first text box is filled, the checkbox is unchecked, and the second text box is filled, then the mounting deferment method will be ignored.  The list is preserved, however, so the player can be flexible and change information quickly.  In cases of a Vehicle or Bot target, it attempts to find the vehicle or bot's brick and then calls the event.

Brick, Vehicle, Bot >> forceUnMount  "List":(Text Box)  "TogglePlayers":(Checkbox)  "ToggleBots":(Checkbox)  "Override":(Checkbox) 
   Forces all selected nodes to unmount players or bots from the vehicle or bot spawned on this brick.  In cases of a Vehicle or Bot target, it attempts to find the vehicle or bot's brick and then calls the event.

Brick, Vehicle, Bot >> MountMove  "NodeNumFrom":(Text Box)  "NodeNumTo":(Text Box) 
   Forces the player or bot on one node to move to another on the same vehicle or bot on this brick.  In cases of a Vehicle or Bot target, it attempts to find the vehicle or bot's brick and then calls the event.  Automatically ignores mount restrictions.

Brick, Vehicle, Bot >> MountTranspose  "NodeNumFrom":(Text Box)  "BrickName":(Text Box)  "NodeNumTo":(Text Box)  "Override":(Checkbox)
   Forces the player or bot on one node of the triggered vehicle or bot to move to another node on a different vehicle or bot on a different brick, as designated by the second text box.  In cases of a Vehicle or Bot target, it attempts to find the vehicle or bot's brick that triggered the event, and then calls the event.

Brick, Vehicle, Bot >> MountExchange  "NodeNumA":(Text Box)  "NodeNumB":(Text Box) 
   Forces players and bots on these nodes to swap.  Ex: "MountExchange '1' '3'" will force players and bots mounted to nodes 1 and 3 to swap positions.  Automatically ignores mount restrictions.


                                                                                                                                          

  Maybe more to come... 

Alright. Turning this into a mount management mod. Any suggestions?
how about stopping bots from exiting a vehicle?

-Snip-
Wow. Extensive list.
So I guess you want to be able to mount bots too. But what would be the point in that? Riding on a bot's hand?
Or are you talking about bot vehicles(horse, pirate cannon, rowboat, etc)?
« Last Edit: July 04, 2015, 09:58:09 AM by jes00 »