You can use all <var:player:*> variables with bots.
really? but the [self][VCEifvalue] <var:pl:whatever> only works with playersPlease explain
[onBotTouch] > [Self] > [VCE_ifValue] > [<var:pl:health> == 100]
That is players health -_-
if(!$BotEventsLoaded){ if(isFunction("RegisterSpecialVar")) { RegisterSpecialVar("Player", "sightrange", "%this.sightrange"); RegisterSpecialVar("Player", "fieldofview", "%this.fov"); RegisterSpecialVar("Player", "fov", "%this.fov"); RegisterSpecialVar("Player", "leashlength", "%this.leashlength"); RegisterSpecialVar("Player", "leash", "%this.leashlength"); RegisterSpecialVar("Player", "aimode", "%this.getAImode()"); }}
So then why does Amade register bot variables on the player?Code: [Select]if(!$BotEventsLoaded){ if(isFunction("RegisterSpecialVar")) { RegisterSpecialVar("Player", "sightrange", "%this.sightrange"); RegisterSpecialVar("Player", "fieldofview", "%this.fov"); RegisterSpecialVar("Player", "fov", "%this.fov"); RegisterSpecialVar("Player", "leashlength", "%this.leashlength"); RegisterSpecialVar("Player", "leash", "%this.leashlength"); RegisterSpecialVar("Player", "aimode", "%this.getAImode()"); }}
<var:pl:currentitem>
-_-<var:pl:currentitem> IS THE PLAYERS CURRENT ITEM
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"]
Why is this guy unable to understand THAT THE BOT IS A PLAYERNope, you gonna use VCE_ifValue