|
| 12 Oct 2011 02:17 PM |
:IsInGroup() returns bool of whether the player is or not in the group. This is the only method for groups. Here are some useful methods idea.
:IsAlly() Will return bool if player is an ally to the group with the ID number
:IsEnemy() Will return bool if player is an enemy of the group with the ID number
I also think :IsIngroup() would be more useful if we could do this:
Bool, Number = player:IsInGroup()
Bool so we still have the boolean value Number to get rank number
-The guy with the siggy that little kids find inappropriate yet it isn't. |
|
|
| Report Abuse |
|
|
|
| 12 Oct 2011 02:38 PM |
Bump.
-The guy with the siggy that little kids find inappropriate yet it isn't. |
|
|
| Report Abuse |
|
|
|
| 12 Oct 2011 02:41 PM |
Go to scripting helpers, this would be much more apreciated. But as a whole, this sounds like a really good idea, it'd help smaller groups. Support
~Wool~ |
|
|
| Report Abuse |
|
|
|
| 12 Oct 2011 02:42 PM |
I forum in SH and Scripters. This doesn't belong in Scripters. This doesn't belong in SH. This belongs here.
-The guy with the siggy that little kids find inappropriate yet it isn't. |
|
|
| Report Abuse |
|
|
|
| 12 Oct 2011 07:22 PM |
This involves mostly scripts, and technically should've ended up in scripting helpers, since this is what your idea is formed around.
~Wool~ |
|
|
| Report Abuse |
|
|
bombpaw
|
  |
| Joined: 15 Mar 2009 |
| Total Posts: 3484 |
|
|
| 12 Oct 2011 07:34 PM |
@Kingcheez, this is SUGGESTING about new portions to be added to the API,
@OP, Same story bro, same story. ADD THIS :D |
|
|
| Report Abuse |
|
|
|
| 12 Oct 2011 07:43 PM |
They should add it. I don't like using tables for allies and enemies.
SH is for fixing scripts, not ideas.
-The guy with the siggy that little kids find inappropriate yet it isn't. |
|
|
| Report Abuse |
|
|
|
| 12 Oct 2011 08:00 PM |
Bump.
-The guy with the siggy that little kids find inappropriate yet it isn't. |
|
|
| Report Abuse |
|
|
Andillas
|
  |
| Joined: 23 May 2010 |
| Total Posts: 5076 |
|
| |
|
mage11561
|
  |
| Joined: 03 Sep 2008 |
| Total Posts: 13217 |
|
|
| 12 Oct 2011 08:43 PM |
support if i knew how to script this well, it would be more useful to me... |
|
|
| Report Abuse |
|
|
|
| 12 Oct 2011 09:47 PM |
"I also think :IsIngroup() would be more useful if we could do this:
Bool, Number = player:IsInGroup()
Bool so we still have the boolean value Number to get rank number"
No. IsInGroup is supposed to return a boolean value and nothing else. Look at the name : "IsInGroup". If that method returned a number which would be the rank of the player, it'd be complete nonsense.
It should be Player:GetRank(groupId) or something similar. |
|
|
| Report Abuse |
|
|
Andillas
|
  |
| Joined: 23 May 2010 |
| Total Posts: 5076 |
|
|
| 12 Oct 2011 09:49 PM |
if player:IsInGroup(gId) get player:Rank(gId)
?
__Andillas __ |
|
|
| Report Abuse |
|
|
|
| 12 Oct 2011 10:33 PM |
Support, Though like Julien said, IsInGroup should only return a boolean.
TigerBloodd | Programmer | Developer |
|
|
| Report Abuse |
|
|
| |
|
|
| 13 Oct 2011 02:17 PM |
@Julien
As long as I have a way then getting the rank number then sure, what ever.
-The guy with the siggy that little kids find inappropriate yet it isn't. |
|
|
| Report Abuse |
|
|
|
| 13 Oct 2011 02:22 PM |
| So basically, you meow the meow and meow meow meow then you bark. Then your fridgerator is fixed. |
|
|
| Report Abuse |
|
|
|
| 13 Oct 2011 02:24 PM |
@explosion & ocean
If you're going to spam a thread containing something too complicated for you, OT is wants you.
-The guy with the siggy that little kids find inappropriate yet it isn't. |
|
|
| Report Abuse |
|
|