#base robot_giant.pop #base robot_standard.pop #base template_custom_canteen.pop WaveSchedule { LuaScriptFile "scripts/recall_canteen_royal.lua" //credits to royal for recall canteen script StartingCurrency 20000 RespawnWaveTime 5 CanBotsAttackWhileInSpawnRoom no Advanced 1 Wave { StartWaveOutput { Target wave_start_relay_classic Action Trigger } DoneOutput { Target wave_finished_relay Action Trigger } WaveSpawn { Name wave5giantscout TotalCurrency 100 TotalCount 1 MaxActive 1 SpawnCount 1 WaitBeforeStarting 2 WaitBetweenSpawns 2 Where spawnbot TFBot { Class Scout Health 901 Item "Upgradeable tf_weapon_scattergun" Item "Battery Canteens" Action Mobber ItemAttributes { ItemName "Upgradeable tf_weapon_scattergun" "faster reload rate" -0.8 "fire rate penalty" 1.15 } FireInput // Activates Recall Canteen when moderately damaged { Delay 0 IfHealthBelow 900 Repeats 1 IfSeeTarget 0 Target "popscript" Action "$ForceUseCanteen" Param "RECALL" } } } } }