Forum

> > Stranded II > General > Teleporter
Forums overviewStranded II overviewGeneral overviewLog in to reply

English Teleporter

2 replies
To the start Previous 1 Next To the start

old Teleporter

Sish
User Off Offline

Quote
I have a teleporter model can someone give me a script?

old Re: Teleporter

Nova
User Off Offline

Quote
You want a script? Of course, here's is one:
1
2
3
on:use {
	damage "unit", 1, 15;
}

It's a nice script, that's for sure. Every time the player uses the object, he damages himself for 15 - perfect for every self loathing human being and wannabe masochist!

If you (for some weird reason) want to teleport the player instead, you can use s2 cmd setpos (for some specific coordinates) or s2 cmd setat (with a specific other object to teleport to). Just remember, the class of the player is "unit" and the ID is 1.
To the start Previous 1 Next To the start
Log in to replyGeneral overviewStranded II overviewForums overview