Forum

> > Stranded II > General > Teleporter
ForenübersichtStranded II-ÜbersichtGeneral-ÜbersichtEinloggen, um zu antworten

Englisch Teleporter

2 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Teleporter

Sish
User Off Offline

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

alt Re: Teleporter

Nova
User Off Offline

Zitieren
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.
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antwortenGeneral-ÜbersichtStranded II-ÜbersichtForenübersicht