Ulysses
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
Ulysses
»
Ulysses Stuff
»
General Chat & Help and Support
»
Is there a ULib.cmds.PlayerArg for teams?
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Is there a ULib.cmds.PlayerArg for teams? (Read 1933 times)
0 Members and 1 Guest are viewing this topic.
Fleamonji
Newbie
Posts: 45
Karma: 0
Is there a ULib.cmds.PlayerArg for teams?
«
on:
April 03, 2011, 11:45:40 AM »
As the title suggests, for ULib.cmds.PlayerArg - is there an equivalent for teams?
EDIT: Found the docs, doesn't appear to be one. Would it be possible to make my own?
EDIT2: Add some sorta ULib.cmds.TeamArg please
«
Last Edit: April 03, 2011, 12:13:03 PM by Fleamonji
»
Logged
Megiddo
Ulysses Team Member
Hero Member
Posts: 6214
Karma: 394
Project Lead
Re: Is there a ULib.cmds.PlayerArg for teams?
«
Reply #1 on:
April 03, 2011, 05:54:34 PM »
Rather than writing a new argument type for this, it seems that this would be better implemented as a string arg restricted to team names.
Logged
Experiencing God's grace one day at a time.
JamminR
Ulysses Team Member
Hero Member
Posts: 8096
Karma: 390
Sertafide Ulysses Jenius
Re: Is there a ULib.cmds.PlayerArg for teams?
«
Reply #2 on:
April 03, 2011, 06:39:52 PM »
Agreed.
Logic to it.
String = blue (a team),
within function, get all players, for each player, if player team name = blue, then do ...
Logged
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming
Print
Pages: [
1
]
Go Up
« previous
next »
Ulysses
»
Ulysses Stuff
»
General Chat & Help and Support
»
Is there a ULib.cmds.PlayerArg for teams?