mirror of
https://github.com/JezuzLizard/t4sp_bot_warfare.git
synced 2025-06-30 16:21:50 +00:00
Add 2 new functions to handle getting and setting action completion.
Move action code to bot_actions_common.gsc and remake how it works.
This commit is contained in:
@ -1,5 +1,3 @@
|
||||
|
||||
|
||||
bot_aimatsinglenormalzombie()
|
||||
{
|
||||
|
||||
@ -15,6 +13,16 @@ bot_should_aimatsinglenormalzombie()
|
||||
return false;
|
||||
}
|
||||
|
||||
bot_check_complete_aimatsinglenormalzombie()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
bot_set_complete_aimatsinglenormalzombie()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
bot_aimatsinglenormalzombie_on_completion()
|
||||
{
|
||||
|
||||
@ -60,6 +68,16 @@ bot_should_shootsinglenormalzombie()
|
||||
return false;
|
||||
}
|
||||
|
||||
bot_check_complete_shootsinglenormalzombie()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
bot_set_complete_shootsinglenormalzombie()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
bot_shootsinglenormalzombie_on_completion()
|
||||
{
|
||||
|
||||
@ -105,6 +123,16 @@ bot_should_aimatmultiplenormalzombies()
|
||||
return false;
|
||||
}
|
||||
|
||||
bot_check_complete_aimatmultiplenormalzombies()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
bot_set_complete_aimatmultiplenormalzombies()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
bot_aimatmultiplenormalzombies_on_completion()
|
||||
{
|
||||
|
||||
@ -150,6 +178,16 @@ bot_should_shootmultiplenormalzombies()
|
||||
return false;
|
||||
}
|
||||
|
||||
bot_check_complete_shootmultiplenormalzombies()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
bot_set_complete_shootmultiplenormalzombies()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
bot_shootmultiplenormalzombie_on_completion()
|
||||
{
|
||||
|
||||
@ -195,6 +233,16 @@ bot_should_meleesinglenormalzombie()
|
||||
|
||||
}
|
||||
|
||||
bot_check_complete_meleesinglenormalzombie()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
bot_set_complete_meleesinglenormalzombie()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
bot_meleesinglenormalzombie_on_completion()
|
||||
{
|
||||
|
||||
@ -240,6 +288,16 @@ bot_should_shootsingledogzombie()
|
||||
return false;
|
||||
}
|
||||
|
||||
bot_check_complete_shootsingledogzombie()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
bot_set_complete_shootsingledogzombie()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
bot_shootsingledogzombie_on_completion()
|
||||
{
|
||||
|
||||
@ -285,6 +343,16 @@ bot_should_shootmultipledogzombies()
|
||||
return false;
|
||||
}
|
||||
|
||||
bot_check_complete_shootmultipledogzombies()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
bot_set_complete_shootmultipledogzombies()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
bot_shootmultipledogzombies_on_completion()
|
||||
{
|
||||
|
||||
@ -330,6 +398,16 @@ bot_should_meleesingledogzombie()
|
||||
return false;
|
||||
}
|
||||
|
||||
bot_check_complete_meleesingledogzombie()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
bot_set_complete_meleesingledogzombie()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
bot_meleesingledogzombie_on_completion()
|
||||
{
|
||||
|
||||
|
@ -13,6 +13,16 @@ bot_should_movetoobjective()
|
||||
return false;
|
||||
}
|
||||
|
||||
bot_check_complete_movetoobjective()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
bot_set_complete_movetoobjective()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
bot_movetoobjective_on_completion()
|
||||
{
|
||||
|
||||
@ -58,6 +68,16 @@ bot_should_train()
|
||||
return false;
|
||||
}
|
||||
|
||||
bot_check_complete_train()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
bot_set_complete_train()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
bot_train_on_completion()
|
||||
{
|
||||
|
||||
@ -103,6 +123,16 @@ bot_should_camp()
|
||||
return false;
|
||||
}
|
||||
|
||||
bot_check_complete_camp()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
bot_set_complete_camp()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
bot_camp_on_completion()
|
||||
{
|
||||
|
||||
@ -148,6 +178,16 @@ bot_should_flee()
|
||||
return false;
|
||||
}
|
||||
|
||||
bot_check_complete_flee()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
bot_set_complete_flee()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
bot_flee_on_completion()
|
||||
{
|
||||
|
||||
|
@ -45,6 +45,16 @@ bot_should_purchase_magicbox()
|
||||
return self.available_chests.size > 0;
|
||||
}
|
||||
|
||||
bot_check_complete_magicbox()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
bot_set_complete_magicbox()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
bot_magicbox_purchase_on_completion()
|
||||
{
|
||||
|
||||
@ -104,6 +114,16 @@ bot_should_purchase_wallbuy()
|
||||
return false;
|
||||
}
|
||||
|
||||
bot_check_complete_wallbuy()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
bot_set_complete_wallbuy()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
bot_wallbuy_purchase_on_completion()
|
||||
{
|
||||
|
||||
@ -149,6 +169,16 @@ bot_should_purchase_wallbuy_ammo()
|
||||
return false;
|
||||
}
|
||||
|
||||
bot_check_complete_wallbuy_ammo()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
bot_set_complete_wallbuy_ammo()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
bot_wallbuy_ammo_purchase_on_completion()
|
||||
{
|
||||
|
||||
@ -194,6 +224,16 @@ bot_should_purchase_perk()
|
||||
return false;
|
||||
}
|
||||
|
||||
bot_check_complete_perk_purchase()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
bot_set_complete_perk_purchase()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
bot_perk_purchase_on_completion()
|
||||
{
|
||||
|
||||
@ -239,6 +279,16 @@ bot_should_purchase_door()
|
||||
return false;
|
||||
}
|
||||
|
||||
bot_check_complete_door_purchase()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
bot_set_complete_door_purchase()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
bot_door_purchase_on_completion()
|
||||
{
|
||||
|
||||
@ -284,6 +334,16 @@ bot_should_purchase_debris()
|
||||
return false;
|
||||
}
|
||||
|
||||
bot_check_complete_debris_purchase()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
bot_set_complete_debris_purchase()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
bot_debris_purchase_on_completion()
|
||||
{
|
||||
|
||||
@ -329,6 +389,16 @@ bot_should_purchase_trap()
|
||||
return false;
|
||||
}
|
||||
|
||||
bot_check_complete_trap_purchase()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
bot_set_complete_trap_purchase()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
bot_trap_purchase_on_completion()
|
||||
{
|
||||
|
||||
@ -374,6 +444,16 @@ bot_should_purchase_packapunch()
|
||||
return false;
|
||||
}
|
||||
|
||||
bot_check_complete_packapunch_purchase()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
bot_set_complete_packapunch_purchase()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
bot_packapunch_purchase_on_completion()
|
||||
{
|
||||
|
||||
@ -419,6 +499,16 @@ bot_should_revive_player()
|
||||
return false;
|
||||
}
|
||||
|
||||
bot_check_complete_revive_player()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
bot_set_complete_revive_player()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
bot_revive_player_on_completion()
|
||||
{
|
||||
|
||||
@ -454,7 +544,7 @@ bot_grab_buildable()
|
||||
|
||||
}
|
||||
|
||||
bot_grabbuildable_process_order()
|
||||
bot_grab_buildable_process_order()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
@ -464,6 +554,16 @@ bot_should_grab_buildable()
|
||||
return false;
|
||||
}
|
||||
|
||||
bot_check_complete_grab_buildable()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
bot_set_complete_grab_buildable()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
bot_grab_buildable_on_completion()
|
||||
{
|
||||
|
||||
@ -499,7 +599,7 @@ bot_build_buildable()
|
||||
|
||||
}
|
||||
|
||||
bot_buildbuildable_process_order()
|
||||
bot_build_buildable_process_order()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
@ -509,6 +609,16 @@ bot_should_build_buildable()
|
||||
return false;
|
||||
}
|
||||
|
||||
bot_check_complete_build_buildable()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
bot_set_complete_build_buildable()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
bot_build_buildable_on_completion()
|
||||
{
|
||||
|
||||
@ -564,6 +674,16 @@ bot_part_should_cancel()
|
||||
return false;
|
||||
}
|
||||
|
||||
bot_check_complete_grab_part()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
bot_set_complete_grab_part()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
bot_part_on_cancel()
|
||||
{
|
||||
|
||||
@ -651,6 +771,16 @@ bot_should_grab_powerup()
|
||||
return self.available_powerups.size > 0;
|
||||
}
|
||||
|
||||
bot_check_complete_grab_powerup()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
bot_set_complete_grab_powerup()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
bot_powerup_on_completion()
|
||||
{
|
||||
level endon( "end_game" );
|
||||
|
Reference in New Issue
Block a user