Author Topic: OnVariableTrue -> Bot *REQUEST*  (Read 584 times)

Im using VCE dealing with bots and I realized this isn't a thing? Anybody willing to add it in im sure it wouldn't be that hard.

Yeah i did this for my server a couple weeks back
here you go: https://puu.sh/woHjX/9082e78bcc.zip

if someone finds this thread in the future and the link above is broken, open your server.cs and inputs.cs files from event_variables

in server.cs, replace lines 49-52 with this:

Code: [Select]
registerInputEvent(fxDtsBrick,"onVariableTrue","Self fxDtsBrick\tBot Bot\tPlayer Player\tClient GameConnection\tMinigame Minigame");
registerInputEvent(fxDtsBrick,"onVariableFalse","Self fxDtsBrick\tBot Bot\tPlayer Player\tClient GameConnection\tMinigame Minigame");
registerInputEvent(fxDtsBrick,"onVariableFunction","Self fxDtsBrick\tBot Bot\tPlayer Player\tClient GameConnection\tMinigame Minigame");
registerInputEvent(fxDtsBrick,"onVariableUpdate","Self fxDtsBrick\tBot Bot\tPlayer Player\tClient GameConnection\tMinigame Minigame");

in inputs.cs, just add this line after every $inputTarget_Player = %client.player;

Code: [Select]
$inputTarget_Bot = %brick.hbot;
« Last Edit: June 19, 2017, 03:07:03 PM by skill4life »