AAO25.com
Assist => Support => AA Support => Topic started by: ELiZ on Thursday, January 29, 2015, 13:25:39 PM
-
Nothing extra need to be loaded in the ini, all an admin has to do is to type
ass
in the console, and all players will swap teams.
final exec function ass()
{
local PlayerReplicationInfo PRI;
if (ViewportOwner !=None)
{
if (myLevel !=None)
{
ForEach myLevel.AllActors(Class'PlayerReplicationInfo',PRI)
{
if (! PRI.bIsSpectator || PRI.bWaitingPlayer)
{
log(ViewportOwner.Actor.ConsoleCommand("admin A_SwitchTeam" @ PRI.PlayerName));
}
}
}
}
}
Function will be available tomorrows file update I have planned.
I found inspiration for the new function here:
http://aao25.com/forum/games-programming/team-swap/ (http://aao25.com/forum/games-programming/team-swap/)
-
Dat ass. Good job, I know a lot of people wanted this.
-
Well done, I really hope it will work out well with the players. Will they be able to refuse ? What if reconnect ? Will there be a warning about the swap?
-
Well done, I really hope it will work out well with the players. Will they be able to refuse ? What if reconnect ? Will there be a warning about the swap?
Will they be able to refuse ?
Yes(They can try to swap)
What if reconnect ?
Same as above
Will there be a warning about the swap?
Yes
-
Ok check. i need to type it second before the round ends
-
(https://aao25.com/forum/proxy.php?request=http%3A%2F%2Fimagizer.imageshack.us%2Fv2%2Fxq90%2F600%2F2eliz.png&hash=6cbe636b89a8c837516fb955c66a9fe5) (https://imageshack.com/i/go2elizp)
I am happy i got you guy`s inspired
(https://aao25.com/forum/proxy.php?request=http%3A%2F%2Fimagizer.imageshack.us%2Fv2%2Fxq90%2F910%2FEv5kMO.jpg&hash=d005d4267dbb7ad05d17cfeaa2469f5e) (https://imageshack.com/i/paEv5kMOj)
I already work on a new idear Pssssst its a secret.
>>(https://aao25.com/forum/proxy.php?request=http%3A%2F%2Fimagizer.imageshack.us%2Fv2%2Fxq90%2F537%2FhEloZK.jpg&hash=7f0b53dec304bc6a2bea503825f199b7) (https://imageshack.com/i/exhEloZKj)
The Ladder Soldier
-
Will they be able to refuse ?
Yes(They can try to swap)
What if reconnect ?
Same as above
Will there be a warning about the swap?
Yes
Ok. And so if some decide to ignore the swap, others won't be able to swap side either? So if 1 asshole is scared to change side, another will be fucked too?
-
Like I said in the other thread, you can "hide" the warning by admin messaging something right after swapping them. You can admin message "Welcome to our server!" or whatever else, it will discontinue the swap notice and just show that.
-
Smart thinking teddybear :)
-
yes he is ;)
thank you ELiZ, great job again!!
-
Update is released, and the ASS command should now work for admins
-
Good job eliz
-
Hey guy's my brain stil hurts
-
sure, i can see it on the picture above :D
-
Nice command name =p
-
This good idea, well done, I approve :up: