Blockland Forums > Suggestions & Requests
Bot VCE Variables
MARBLE MAN:
I was thinking about giving bots variables
<var:bot:variable>
variables include:
posx
posy
posz
currentweapon
datablock
health
maxhealth
damage
etc.
So-
Could anyone familliar with bots and adding VCE variables do this?
Daenth:
You can use all <var:player:*> variables with bots.
MARBLE MAN:
--- Quote from: Daenth on May 18, 2012, 06:52:01 PM ---You can use all <var:player:*> variables with bots.
--- End quote ---
really? but the [self][VCEifvalue] <var:pl:whatever> only works with players
Please explain
Daenth:
--- Quote from: MARBLE MAN on May 18, 2012, 07:15:45 PM ---really? but the [self][VCEifvalue] <var:pl:whatever> only works with players
Please explain
--- End quote ---
[onBotTouch] > [Self] > [VCE_ifValue] > [<var:pl:health> == 100]
MARBLE MAN:
--- Quote from: Daenth on May 18, 2012, 07:30:37 PM ---[onBotTouch] > [Self] > [VCE_ifValue] > [<var:pl:health> == 100]
--- End quote ---
That is players health -_-