New Buttons for Teams

Give us your feedback about the Level Editor! Or have an idea? Post it here!

New Buttons for Teams

Postby Minilion » 4 July 2018, 21:08

Things which will help alot in the multyplayer maps with more than 2 teams(blue and red).
In the game should be added buttons for black, white and green teams, that's include function withount button and with.

Minilion
Recruit
 
Posts: 4
Joined: 4 July 2018, 20:01

Re: New Buttons for Teams

Postby Civil-Lite » 16 September 2018, 18:26

Actually, that wouldn't be a bad idea seeing as we only have the Green, Red and Blue buttons. But for multiple teams it would make it easier for them to access specific areas within maps. Nice, I like it.
User avatar
Civil-Lite
Janitor
 
Posts: 550
Joined: 30 January 2015, 02:44
Location: Searching your feelings...

Re: New Buttons for Teams

Postby darkstar 1 » 22 September 2018, 16:02

Resi wrote:Isn't this already possible with vars?

Yes it is.

Set a variable to the player initiator slot, then set another variable to the team id of the player with the slot saved as the first variable and then continue if it equals a certain team id.
The team ids are numbers from 0-16, with 0 being alpha, 1 being beta, ...

Spoiler: Show More
uid: #trigger*1
enabled: true
maxcalls: -1

op180( "Player_Slot", "0" );
op186( "Team_Var", "Player_Slot" );
continue if VarA == ValueB ( "Team_Var", "16" );
ShowText( "Player is in black team", "#00cc00" );



User avatar
darkstar 1
Proxy [700]
 
Posts: 712
Joined: 13 September 2014, 13:20
Location: Here... or there :|


Return to Level Editor

Who is online

Users browsing this forum: No registered users



cron