Well I found another bug in my script . In the plane setup I accidentally pass the targetname array index to the node numbering thread instead of the set number . I am sorry about that . Here are the changes to the script you need to make to fix it .
node_think:
level waittill spawn
for(local.i=1;local.i <= $strafe_path.size;local.i++)
{
local.nodes = 1
local.node = $strafe_path[local.i]
local.start_node = local.node
while(local.node != NULL )
{
level.strafenode[$strafe_path[local.i].set][local.nodes] = local.node
level.strafenode[$strafe_path[local.i].set][local.nodes] thread node_thinker local.nodes
local.nodes++
if((level.debug)&&(local.node.target))
{
local.beam2 = spawn func_beam origin local.node.origin endpoint local.node.target.origin maxoffset 0
local.beam2 color ( 0 0 1 )
local.beam2 Activate
}
local.node = $(local.node.target)
if(local.node == local.start_node )
local.node = NULL
}
thread plane_setup $strafe_path[local.i].set
if(level.debug)
println "node think setup ending set: " $strafe_path[local.i].set
}
end
Or you can just download it again here
http://members.shaw.ca/b.boddy/global_strafe.pk3
Global/strafe.scr UPDATE
Moderator: Moderators
- small_sumo
- Lieutenant General
- Posts: 953
- Joined: Mon Jul 01, 2002 4:17 pm
- Contact:
