Jav location

This commit is contained in:
Your Name
2020-08-25 13:39:47 -06:00
parent 320d6854ac
commit d4b2a72025
3 changed files with 79 additions and 4 deletions

View File

@ -134,6 +134,21 @@ ClearScriptGoal()
self SetScriptGoal(undefined, 0);
}
HasBotJavelinLocation()
{
return isDefined(self.bot.jav_loc);
}
SetBotJavelinLocation(loc)
{
self.bot.jav_loc = loc;
}
ClearBotJavelinLocation()
{
self SetBotJavelinLocation(undefined);
}
/*
Sets the script enemy for a bot.
*/