respawn point

broken avatar :(
Created 2407 days ago
by trebeltom1
0 Members and 1 Guest are viewing this topic.
1,468 views
broken avatar :(
×
broken avatar :(
Location: gb
Date Registered: 17 February 2013
Last active: 1136 days 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

[You are not allowed to view external links. Register or Login to see them]
×
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: 882 days ago
Posts
277
Respect
Forum Rank
Mr. Elemental
Primary Group
Community Scripter Elite
My Groups
More
My Contact & Social Links
More
Personal Quote
TMG, Team 00
Signature
Released: 002 - Anstalt der Untoten
High-quality custom scripts? Just ask :)
×
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 LinksphilrippYaPh1lYaPh1l
For DR: [You are not allowed to view external links. Register or Login to see them]

- Phil.
broken avatar :(
×
broken avatar :(
Location: gb
Date Registered: 17 February 2013
Last active: 1136 days 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: 882 days ago
Posts
277
Respect
Forum Rank
Mr. Elemental
Primary Group
Community Scripter Elite
My Groups
More
My Contact & Social Links
More
Personal Quote
TMG, Team 00
×
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 LinksphilrippYaPh1lYaPh1l
Something like this:
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: 1136 days 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
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

 

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 Twitch
Loading ...