(Created page with "==Members== {{ScriptFunction|bool|IsMemberOf|(int groupID)|Whether is a member of this group.|5= local group=Space.Groups<br> function Get()<br> Space...") |
|||
Line 1: | Line 1: | ||
==Members== | ==Members== | ||
− | {{ScriptFunction|bool|IsMemberOf|(int groupID)|Whether is a member of this group.|5= | + | {{ScriptFunction|bool|IsMemberOf|(int groupID)|Whether is a member of this group.|5=<pre> |
− | + | IsMember = Space.Groups.IsMemberOf(675)</pre>|6=<pre></pre> | |
− | + | ||
− | + | ||
− | + | ||
}} | }} | ||
− | {{ScriptFunction|SGroupInfo|GetGroupInfo|(int groupID)|Get the group info by groupID.|5= | + | {{ScriptFunction|SGroupInfo|GetGroupInfo|(int groupID)|Get the group info by groupID.|5=<pre> |
− | + | groupInfo = Space.Groups.GetGroupInfo(675)</pre>|6=<pre></pre> | |
− | + | ||
− | + | ||
− | + | ||
}} | }} | ||
− | {{ScriptFunction|void|JoinGroup|(int groupID, bool force = false)|Join the group.|5= | + | {{ScriptFunction|void|JoinGroup|(int groupID, bool <nowiki>force = false</nowiki>)|Join the group.|5=<pre>Space.Groups.JoinGroup(675)</pre>|6=<pre></pre> |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
}} | }} | ||
− | {{ScriptFunction|void|LeaveGroup|(int groupID, bool force = false)|Leave the group.|5= | + | {{ScriptFunction|void|LeaveGroup|(int groupID, bool <nowiki>force = false</nowiki>)|Leave the group.|5=<pre>Space.Groups.LeaveGroup(675)</pre>|6=<pre></pre> |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
}} | }} | ||
Line 32: | Line 18: | ||
==Properties== | ==Properties== | ||
− | {{ScriptFunction|SGroupInfo| | + | |
− | + | {{ScriptFunction|SGroupInfo|Membership|{ get; }|Return an array with all the groups this player is a member of|5=<pre>groups = Space.Groups.Membership</pre>|6=<pre></pre>}} | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | }} | + | |
{{Scripting Navbox}} | {{Scripting Navbox}} |
Whether is a member of this group.
IsMember = Space.Groups.IsMemberOf(675)
Get the group info by groupID.
groupInfo = Space.Groups.GetGroupInfo(675)
Join the group.
Space.Groups.JoinGroup(675)
Leave the group.
Space.Groups.LeaveGroup(675)
Return an array with all the groups this player is a member of
groups = Space.Groups.Membership
|