well have the spotlights spawning,,,but every thing i try to get the spots moving seems to fail,,ive probally tried everything but the correct thing,,may have even got 1 part correct at 1 time or another but had something else wrong uggggg,,im probally just doing something ignorant!!
anyways heres the script so ya can see just what the heck im doing wrong:( now the light is spawning exactly were i want it 2 and i just hid the mg and may even hide the soldier later,,i just dont understand why i cant get them moving,,i have tryed using exactly what ya last post said,,ive reread the tut and tryed using that ,,ive tryed rearanging the pathnode info ,,im not positive the "set" "1" "group" "1" is scripted correctly

everything i seem to try always returns me to to this error
self.org flypath local.path 250 750 200 (global/rescue_spotlight.scr, 81)
self.org ^
^~^~^ Script Error: ScriptSlave Given FlyPath Command with NULL path.
self.org.origin = local.path.origin (global/rescue_spotlight.scr, 80)
self.org.origin = local.path^
^~^~^ Script Error: Field 'origin' applied to NULL listener
thats why i have a idea i may be doing something incorrect with the paths
hope the following isnt to bad for the 1st time i actually tried to script something and make it work
thread spotlightbase
thread spawnguy
thread mg42
thread spotlighttarget
thread spotsearch1
spotlightbase:
//spotlightbase1
local.light = spawn models/miscobj/searchlightbase.tik "targetname" "spotlight" "classname" "script_model" "set" "1" "group" "1"
local.light.origin = ( 200 -210 239)
local.light.angles = ( 0 150 0 )
local.light solid
end
//////////////////////////////////////////////////////////
spawnguy:
local.dude = spawn human/german_winter_type1.tik "targetname" "mg2_gunner" "classname" "ai_actor"
local.dude.health = 100
local.dude.origin = ( 200 -210 239)
local.dude.angle = -129
local.dude.sight = 50000
local.dude.accuracy = 70
local.dude.aggresiveness = 95
local.dude.type_idle = machinegunner
local.dude.type_attack = machinegunner
local.dude.type_disguise = machinegunner
local.dude.type_grenade = machinegunner
end
//-------------------------------------------------------------------------------------------------------------------
mg42:
//mg42 1
spawn statweapons/mg42_gun "targetname" "mg42_1" "classname" "addon_turretweapon_german_mg42"
$mg42_1.origin = ( 200 -210 239)
$mg42_1.angles = (0 0 0)
$mg42_1 maxyawoffset 180 // changed 35
$mg42_1 pitchcaps "-50 50 -50" // changed "-20 20 0"
$mg42_1 turnspeed 30 // changed 15
$mg42_1 pitchspeed 7.5
$mg42_1 viewjitter 1
$mg42_1 nodamage
$mg42_1 solid
$mg42_1 hide
end
//-----------------------------------------------------------------------------
spotlighttarget:
$spotlight.target = $mg2_gunner
$mg2_gunner.target = $mg42_1
end
//-----------------------------------------------------------------------------
spotsearch1:
local.path = spawn info_splinepath "targetname" " spotpath1_1" "classname" "info_splinepath" "set" "1" "group" "1"
local.path.origin = ( -582 -104 -66)
local.path1 = spawn info_splinepath "targetname" "path1" "classname" "info_splinepath"
local.path1.origin = ( -606 220 -59)
local.path2 = spawn info_splinepath "targetname" "path2" "classname" "info_splinepath"
local.path3.origin = ( -605 439 382)
local.path3 = spawn info_splinepath "targetname" "path3" "classname" "info_splinepath"
local.path3.origin = ( -658 -166 382)
// connect up spotlight path
local.path.target = local.path1
local.path1.target = local.path2
local.path3.target = local.path
end
Gold<<mohha freak