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

respawn point

broken avatar :(
Created 11 years ago
by trebeltom1
0 Members and 1 Guest are viewing this topic.
1,954 views
broken avatar :(
×
broken avatar :(
Location: gb
Date Registered: 17 February 2013
Last active: 8 years ago
Posts
107
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Community Mapper
My Groups
More
My Contact & Social Links
More
Signature
MAPS:
Dale's Dock
Compound
Dale's Dig

×
trebeltom1's Groups
Community Mapper Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager.
trebeltom1's Contact & Social LinksWaffle Fries
so I have an area where players start the map, but then they leave that area and will not return for sometime, how can I add alternative respawn points to my map?

Thanks
broken avatar :(
×
broken avatar :(
Location: de
Date Registered: 6 August 2012
Last active: 4 years ago
Posts
277
Respect
Forum Rank
Mr. Elemental
Primary Group
Community Scripter Elite
My Groups
More
×
YaPh1l's Groups
Community Scripter Elite Has shown excellence and experience in the area of custom scripting in the UGX-Mods community.
YaPh1l's Contact & Social Links
broken avatar :(
×
broken avatar :(
Location: gb
Date Registered: 17 February 2013
Last active: 8 years ago
Posts
107
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Community Mapper
My Groups
More
My Contact & Social Links
More
×
trebeltom1's Groups
Community Mapper Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager.
trebeltom1's Contact & Social LinksWaffle Fries
thanks very much solved that one. I am trying to make something move at the end of every round
at the moment the function looks like this:

elevator()
{
platform1 = getent ("startplatform","targetname");
platform = getent ("startrail","targetname");
level waittill( "round_over" );
wait(1);
platform movez (48,3,0.5,0.5);
wait(3);
platform1 movez (-320,5,0.5,0.5);
wait(10);
platform1 movez (320,5,0.5,0.5);
wait(5);
platform movez (-48,3,0.5,0.5);
level endon( "between_round_over" );
}

what should i do so it moves at the end of every round, not just the first one?

I know i am a scripting noob, sorry
broken avatar :(
×
broken avatar :(
Location: de
Date Registered: 6 August 2012
Last active: 4 years ago
Posts
277
Respect
Forum Rank
Mr. Elemental
Primary Group
Community Scripter Elite
My Groups
More
×
YaPh1l's Groups
Community Scripter Elite Has shown excellence and experience in the area of custom scripting in the UGX-Mods community.
YaPh1l's Contact & Social Links
Something like this:
Code Snippet
Plaintext
elevator()
{
 platform1 = getent ("startplatform","targetname");
 platform = getent ("startrail","targetname");
 while(true)
 {
  level waittill( "between_round_over" );
  wait(1);
  platform movez (48,3,0.5,0.5);
  wait(3);
  platform1 movez (-320,5,0.5,0.5);
  wait(10);
  platform1 movez (320,5,0.5,0.5);
  wait(5);
  platform movez (-48,3,0.5,0.5);
 }
}

- Phil.
broken avatar :(
×
broken avatar :(
Location: gb
Date Registered: 17 February 2013
Last active: 8 years ago
Posts
107
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Community Mapper
My Groups
More
My Contact & Social Links
More
×
trebeltom1's Groups
Community Mapper Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager.
trebeltom1's Contact & Social LinksWaffle Fries
Code Snippet
Plaintext
elevator()
{
 platform1 = getent ("startplatform","targetname");
 platform = getent ("startrail","targetname");
 while(true)
 {
  level waittill( "round_over" );
  wait(1);
  platform movez (48,3,0.5,0.5);
  wait(3);
  platform1 movez (-320,5,0.5,0.5);
  wait(10);
  platform1 movez (320,5,0.5,0.5);
  wait(5);
  platform movez (-48,3,0.5,0.5);
 }
}


yeah this works, thanks a lot YaPh1l

 
Loading ...