Blockland Forums > Suggestions & Requests

Bot VCE Variables

Pages: << < (2/4) > >>

Daenth:


--- Quote from: MARBLE MAN on May 18, 2012, 07:53:06 PM ---That is players health -_-


--- End quote ---
So then why does Amade register bot variables on the player?

--- Code: ---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()");
}
}
--- End code ---


MARBLE MAN:


--- Quote from: Daenth on May 18, 2012, 07:55:35 PM ---So then why does Amade register bot variables on the player?

--- Code: ---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()");
}
}
--- End code ---

--- End quote ---
I know of those- I just wanted the Current weapon one -_-


Blocki:

<var:pl:currentitem>

MARBLE MAN:


--- Quote from: Blocki on May 18, 2012, 08:09:05 PM ---<var:pl:currentitem>

--- End quote ---
-_-
<var:pl:currentitem> IS THE PLAYERS CURRENT ITEM

*FacePalm*:


--- Quote from: MARBLE MAN on May 18, 2012, 08:44:02 PM ----_-
<var:pl:currentitem> IS THE PLAYERS CURRENT ITEM

--- End quote ---
it works on bots.
is that hard for you to understand?

Pages: << < (2/4) > >>

Go to full version