Posts
503
Respect
391Add +1
Forum Rank
Zombie Enslaver
Primary Group
Member
Login Issues
Forgot password?Activate Issues
Account activation email not received? Wrong account activation email used?Other Problems?
Contact Support - Help Center Get help on the UGX Discord. Join it now!You need to learn some scripting if you want complete features like that in your map. Or design a great map and other modders will help.
This is only for 1 player and has no checks for if the player is dead or disconnected ect so it will cause issues if the player is being revived.
//untested
//Spawned_guy thread updatemy_pos();
Updatemy_pos()
{
Self endon ("death");
//self is spawned_guy
While(1)
{
Leader = get_players()[0];
Self.goalradius = 512;
Self setgoalpos(leader.origin);
Self waitill("goal");
Wait (randomfloatrange(1,4));
}
}