press use to teleport on an item

Post your scripting questions / solutions here

Moderator: Moderators

User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

Hello.........

Post by tltrude »

Knock knock, anyone there! You are not reading my posts!

YOU ONLY NEED TO ADD ONE LINE FOR EACH TELEPORTER!!!!!!!!!

thread trigger_maker ( 120 828 240 ) ( 341 3900 324 )

All you need to do is copy that line over and over. And, change the coordinates for the trigger location and destination location, nothing else!

It is not "thread trigger_maker2", they are all the same.

thread trigger_maker ( 120 828 240 ) ( 341 3900 324 )
thread trigger_maker ( 315 256 500 ) ( 768 1200 768 )
thread trigger_maker ( 120 828 256 ) ( 341 -3900 324 )
thread trigger_maker ( 256 -828 240 ) ( 341 3900 324 )
thread trigger_maker ( 120 828 240 ) ( 341 256 324 )
thread trigger_maker ( 120 828 240 ) ( -341 3900 324 )
thread trigger_maker ( 120 -256 240 ) ( 341 390 -324 )

But with different coordinates for each--above ones are fake.
Last edited by tltrude on Fri Sep 17, 2004 5:14 am, edited 1 time in total.
Tom Trude,

Image
User avatar
Darksoul
Lance Corporal
Posts: 19
Joined: Thu May 27, 2004 7:08 pm

Post by Darksoul »

i am reading your posts
but i want different effects to show the teleport
like the 1st one you put the orange thing.
the second one i put the "emitters/adamspark.tik"
---
wouldn't just putting the new teleport thread trigger_maker ( 120 828 240 ) ( 341 3900 324 )

make it invisable?


-- wait a minute Duh to get what i want i just have to spawn the thing in the map and put the teleport orgin to that....

...i don't mean to make things seem harder than they are
again thanks for the help tltrude
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

variable

Post by tltrude »

The way I have it the variable values are pasted to the threads by the line under "level waittill spawn".

If you want different markers, just add another variable, like (local.model).

Then your lines would look like this.

thread trigger_maker ( 120 828 240 ) ( 341 3900 324 ) "emitters/adamspark.tik"

And the thread would look like this:

---------------------------------------------------------
trigger_maker local.location local.dest local.model:

local.marker = spawn script_model
local.marker model local.model
local.marker.origin = (local.location)
local.marker anim start // Animated models need to be started

local.trig = spawn trigger_multiple
local.trig.origin = (local.location)
local.trig setsize ( -20 -20 -20 ) ( 20 20 20 )

thread teleport local.trig local.dest

end
---------------------------------------------------------

Doing it that way, you will have to put the model at the end of each of the lines that call the thread.
Tom Trude,

Image
Post Reply