Blockland Forums > Suggestions & Requests
Bot VCE Variables
Daenth:
--- Quote from: MARBLE MAN on May 18, 2012, 08:44:02 PM ----_-
<var:pl:currentitem> IS THE PLAYERS CURRENT ITEM
--- End quote ---
My point is, the player variables work for the bot variables. Use the events correctly and make the variable target the bot, like so:
[onBotTouch] > [Self] > [VCE_ifVariable] > [<var:player:currentItem> == "Gun"]
xxxxkill:
--- Quote from: MARBLE MAN on May 18, 2012, 08:44:02 PM ----_-
<var:pl:currentitem> IS THE PLAYERS CURRENT ITEM
--- End quote ---
<var:pl:*> works with bots as they would players.
Blocki:
Why is this guy unable to understand THAT THE BOT IS A PLAYER
--- Quote from: Daenth on May 19, 2012, 01:04:30 AM ---My point is, the player variables work for the bot variables. Use the events correctly and make the variable target the bot, like so:
[onBotTouch] > [Self] > [VCE_ifVariable] > [<var:player:currentItem> == "Gun"]
--- End quote ---
Nope, you gonna use VCE_ifValue
setro2:
You dont need VCE.
You can use bot events
Ex: onBotSpawn>Bot>SetBotWeapon>Longrange/Closerange>(Weapon name here)
Daenth:
--- Quote from: Blocki on May 19, 2012, 05:43:37 AM ---Why is this guy unable to understand THAT THE BOT IS A PLAYER
Nope, you gonna use VCE_ifValue
--- End quote ---
VCE_ifValue is for numbers.
VCE_ifVariable is for text (aka strings).