binocular_fire:
local.fwd_vec = angles_toforward self.viewangles
local.start = self gettagposition "Bip01 Head"
local.hit_location = trace (local.start + local.fwd_vec * 64) (local.start + local.fwd_vec * level.scout_sight_max) 0
local.ent = spawn script_origin origin local.hit_location
/////////////////////////////////// Mod added by Bdbodger
bdbodger@hotmail.com ////////////////////
if(self.artilleryofficer==1)
{
level.artillery_spot= local.ent.origin
level.artillery_marked=1
}
if(self.airstrike==1)
{
level.airstrike_spot= local.ent.origin
level.airstrike_marked=1
}
////////////////////////////////// Modification end ////////////////////////////////////////////////
if ( level.rjukanproject_scouting_debug ) {
println "[SCOUTING]: Drawing beam from " local.start " to " local.hit_location
local.beam = spawn func_beam origin local.start endpoint local.hit_location maxoffset 0
local.beam doActivate
local.beam color (1 0 0)
//************* mod added by bdbodger *****************************************
local.colorhit= spawn script_model model "fx/dummy.tik"
local.colorhit light 0.0 1.0 0.0 50
local.colorhit.origin= local.ent.origin
local.colorhit commanddelay 6 remove
//******************************************************************************
local.beam commanddelay 2 remove
}