English Teleporter

1 reply
Goto Page
To the start Previous 1 Next To the start
03.09.20 11:47:40 pm
Up
Sish
User
Offline Off
I have a teleporter model can someone give me a script?
04.09.20 01:54:09 am
Up
Nova
User
Offline Off
You want a script? Of course, here's is one:
Code:
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.
Hexenverbrennung, Inquisition, Kreuzzüge... Wir wissen, wie man feiert! - Ihre Kirche
To the start Previous 1 Next To the start