vehicle::friendly_fire_shield()
vehicle helper: friendly fire shield. BO3's decompiled scripts carry no docs for this one: the description is ours, from its name and use.
Signature
vehicle::friendly_fire_shield()
Needs #using the script that defines it (scripts/shared/vehicle_shared.gsc).
Real uses in BO3's scripts
Called 16 times in the decompiled scripts. A few, zombies first:
- scripts/zm/_zm_ai_quadrotor.gsc, line 63
self vehicle::friendly_fire_shield(); - scripts/zm/zm_siegebot_nikolai.gsc, line 112
self vehicle::friendly_fire_shield(); - scripts/shared/vehicle_shared.gsc, line 1331
vehicle friendly_fire_shield(); - scripts/shared/vehicles/_amws.gsc, line 64
self vehicle::friendly_fire_shield(); - scripts/shared/vehicles/_counteruav.gsc, line 59
self vehicle::friendly_fire_shield();
More in vehicle::
- vehicle::addfxandtagtolists()Adds FX and tag to lists.
- vehicle::lights_off()vehicle helper: lights off.
- vehicle::add_main_callback()Adds main callback.
- vehicle::get_on_and_go_path()Returns the on and go path.
- vehicle::simple_spawn_single()vehicle helper: simple spawn single.
- vehicle::lights_on()vehicle helper: lights on.
- vehicle::toggle_sounds()Toggles sounds.
- vehicle::add_spawn_function()Adds spawn function.
- vehicle::toggle_lights_group()Toggles lights group.
- vehicle::toggle_exhaust_fx()Toggles exhaust FX.
- vehicle::add_vehicletype_callback()Adds vehicletype callback.
- vehicle::addanimtolist()Adds animation to list.
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).