UGX-Mods Login

or login with an authentication provider below
Sign In with Google
Sign In with Twitter
Sign In with Discord
Sign In with Steam
Sign In with Facebook
Sign In with Twitch

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - werewolfps4

It should work. I did the same thing with the same song code. Make sure you clip is a script brush, and that its targetname is the same in the GetEnt function.
You could also have it initialize the teleporter script after completing the shootable EE script.
7 years ago
Heres a very basic kino like teleporter script.
Its a one player teleporter, and might have used variables that are not present here.
To teleport use    player setorigin(backpos); //backpos is the cords
Look at the Giant teleport script for more info

Code Snippet
Plaintext
function __main__()
{
telepos = (-704,-1216,-384);
backpos = (0,-128,0);
self SetCursorHint("HINT_NOICON");
self SetHintString("Hold ^3&&1^7 to Teleport [Cost:" + level.telecost + "]");
while(1)
{
while(1)
{
self waittill("trigger", player);

if(player.score >= level.telecost)
{
player zm_score::minus_to_player_score(level.telecost);

player.teleport_origin.origin = (telepos);

player setorigin(telepos);

player linkto( player.teleport_origin );
wait(30);
player setorigin(backpos);
break;
}
}
}
}
Sorry if you already figured it out
8 years ago
Loading ...