function onStartup(self) --print("rail A starting up") end function onRebuildNotifyState(self, msg) if (msg.iState == 2) then --print("rail A finished!") local friends = self:GetObjectsInGroup{group = "SpiderRailTurret", ignoreSpawners = true}.objects for i, object in pairs(friends) do if (object:GetLOT().objtemplate == 6528) then object:NotifyObject{name = "firstPoint", ObjIDSender = self} end end end end