GSC reference › bot
bot::sprint_to_goal()
Script function
Server
bot helper: sprint to goal. BO3's decompiled scripts carry no docs for this one: the description is ours, from its name and use.
Signature
bot::sprint_to_goal()
Needs #using the script that defines it (scripts/shared/bots/_bot.gsc).
Real uses in BO3's scripts
Called 30 times in the decompiled scripts. A few, zombies first:
- scripts/shared/bots/_bot.gsc, line 1206
self sprint_to_goal(); - scripts/shared/bots/_bot_combat.gsc, line 480
self bot::sprint_to_goal(); - scripts/mp/bots/_bot.gsc, line 302
self sprint_to_goal(); - scripts/mp/bots/_bot_ball.gsc, line 149
self bot::sprint_to_goal(); - scripts/mp/bots/_bot_clean.gsc, line 82
self bot::sprint_to_goal();
More in bot::
- bot::add_bot()Adds bot.
New to GSC?
Start with the basics, or paste a compile error to get the fix.
Built-in descriptions, parameters and examples come from Treyarch's BO3 mod tools docs. Usage links point at shiversoftdev/t7-source (decompiled BO3 scripts).