my teleporters are not working

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
¤gunner¤
Lance Corporal
Posts: 10
Joined: Fri Sep 01, 2006 3:43 am
Contact:

my teleporters are not working

Post by ¤gunner¤ »

my first tele works but that is all


//--------------Teleporter----->

port1:

local.portlight = spawn script_model
local.portlight model \"emitters/firegood.tik\"
local.portlight.origin = ( 1073.75 1971.26 493.44 ) // starting point
local.portlight.scale = .5

local.trig = spawn trigger_multiple
local.trig targetname port1
local.trig.origin = ( 1073.75 1971.26 493.44 ) // starting point
local.trig setsize ( -30 -30 0 ) ( 30 30 80 )
$port1 waittill trigger
local.player = parm.other
local.player tele ( 55.09 1191.52 74.26 ) // destination
local.portlight remove
$port1 remove
wait 8
thread port1
end
//--------------Teleporter----->

port2:

local.portlight = spawn script_model
local.portlight model \"emitters/firegood.tik\"
local.portlight.origin = ( 1434.69 850.29 512.70 ) // starting point
local.portlight.scale = .5

local.trig = spawn trigger_multiple
local.trig targetname port1
local.trig.origin = ( 1434.69 850.29 512.70 ) // starting point
local.trig setsize ( -30 -30 0 ) ( 30 30 80 )
$port1 waittill trigger
local.player = parm.other
local.player tele ( -823.60 349.32 -1.32 ) // destination
local.portlight remove
$port1 remove
wait 8
thread port2
end
//--------------Teleporter----->

port3:

local.portlight = spawn script_model
local.portlight model \"emitters/firegood.tik\"
local.portlight.origin = ( -837.94 22220.92 395.39 ) // starting point
local.portlight.scale = .5

local.trig = spawn trigger_multiple
local.trig targetname port1
local.trig.origin = ( -837.94 22220.92 395.39 ) // starting point
local.trig setsize ( -30 -30 0 ) ( 30 30 80 )
$port1 waittill trigger
local.player = parm.other
local.player tele ( -1201.02 -869.92 457.05 ) // destination
local.portlight remove
$port1 remove
wait 8
thread port3
end
¤copy my name to help me spread around¤
†}®’{€
Green Beret
Major General
Posts: 746
Joined: Mon Apr 19, 2004 12:21 pm
Contact:

Post by Green Beret »

Try This

Code: Select all

//--------------Teleporter----->
level waittill spawn

thread port1
thread port2
thread port3

end

port1:

local.portlight = spawn script_model
local.portlight model \"emitters/firegood.tik\"
local.portlight.origin = ( 1073.75 1971.26 493.44 ) // starting point
local.portlight.scale = .5

local.trig = spawn trigger_multiple
local.trig targetname port1
local.trig.origin = ( 1073.75 1971.26 493.44 ) // starting point
local.trig setsize ( -30 -30 0 ) ( 30 30 80 )
$port1 waittill trigger
local.player = parm.other
local.player tele ( 55.09 1191.52 74.26 ) // destination
local.portlight remove
$port1 remove
wait 8
thread port1
end
//--------------Teleporter----->

port2:

local.portlight2 = spawn script_model
local.portlight2 model \"emitters/firegood.tik\"
local.portlight2.origin = ( 1434.69 850.29 512.70 ) // starting point
local.portlight2.scale = .5

local.trig2 = spawn trigger_multiple
local.trig2 targetname port2
local.trig2.origin = ( 1434.69 850.29 512.70 ) // starting point
local.trig2 setsize ( -30 -30 0 ) ( 30 30 80 )
$port1 waittill trigger
local.player = parm.other
local.player tele ( -823.60 349.32 -1.32 ) // destination
local.portlight2 remove
$port2 remove
wait 8
thread port2
end
//--------------Teleporter----->

port3:

local.portlight3 = spawn script_model
local.portlight3 model \"emitters/firegood.tik\"
local.portlight3.origin = ( -837.94 22220.92 395.39 ) // starting point
local.portlight3.scale = .5

local.trig3 = spawn trigger_multiple
local.trig3 targetname port3
local.trig3.origin = ( -837.94 22220.92 395.39 ) // starting point
local.trig3 setsize ( -30 -30 0 ) ( 30 30 80 )
$port1 waittill trigger
local.player = parm.other
local.player tele ( -1201.02 -869.92 457.05 ) // destination
local.portlight3 remove
$port3 remove
wait 8
thread port3
end
Image
¤gunner¤
Lance Corporal
Posts: 10
Joined: Fri Sep 01, 2006 3:43 am
Contact:

Post by ¤gunner¤ »

lol i noticed that i didnt change the port names lol ty
¤copy my name to help me spread around¤
†}®’{€
Post Reply