Forum
Stranded II General TeleporterTeleporter
2 replies 1
1
2
3
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 setpos (for some specific coordinates) or setat (with a specific other object to teleport to). Just remember, the class of the player is "unit" and the ID is 1.
Admin/mod comment
Why did you bump a 4 years old thread? That's necroposting. / GeoB99 §2.3 - No editing of posts to mark these as being new (pushing) 1