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 - Foelex



i dsont know anything about coding, so iu dont want to fudge with the file...
6 years ago
When i teleport to my new zone, the zombies spawn and brake windows, rise but won't move... :-\
Any help? (the zombies move in my first zone)
7 years ago
is there a way to make a shootable trigger do "enter_zone"?
want to make so you have to shoot a trigger and then teleport to a new zone
7 years ago
I want to make a script where you have to shoot something and then eleport to the next room.
Any help? :) :D

This is what i have so far...


Code Snippet
Plaintext
 function init()
{
    level.buttonNeeded = 1;
    level.buttonFound = 0;
 
    level thread button();
}
 
function button()
{
    model_teleport_1 = GetEnt("teleport_model_1", "targetname");
    trig_1 = GetEnt("button_1", "targetname");
    model_1 = GetEnt("button_model_1", "targetname");
 
    trig_1 SetHintString("");
    trig_1 SetCursorHint("HINT_NOICON");
 
    while(1)
    {
        trig_1 waittill("trigger", player);
 
        level.buttonFound++;
 
        IPrintLn("Button found!"); // Not Needed
 
        thread button_found(player);
 
        break;
    }
 
    //trig_1 Delete();
    //model_1 Delete();
}
 
function button_found(player)
{
    while(1)
    {
        self waittill(level.buttonFound >= level.buttonNeeded);
 
        if(level.buttonFound == level.buttonNeeded)
        {
            self MoveTo("teleport_model_1", .5, .05, .05);
            IPrintLn("round2");
            player_fudge_moveto( teleport_model_1 );
        }
 
        break;
    }
}
7 years ago
Loading ...