function GetFirstFactionMember (object oMemberOfFaction, int bPCOnly=TRUE) Get the first member of oMemberOfFaction's faction (start to cycle through oMemberOfFaction's faction)
* Returns OBJECT_INVALID if oMemberOfFaction's faction is invalid.
* Return type: object
* Include file: nwscriptdefn
Attributes | Values |
---|
rdfs:label
| |
rdfs:comment
| - function GetFirstFactionMember (object oMemberOfFaction, int bPCOnly=TRUE) Get the first member of oMemberOfFaction's faction (start to cycle through oMemberOfFaction's faction)
* Returns OBJECT_INVALID if oMemberOfFaction's faction is invalid.
* Return type: object
* Include file: nwscriptdefn
- The GetFirstFactionMember() and GetNextFactionMember() NWScript commands iterate through all members of a faction, possibly a faction that consists of a party of player characters and associates. As with the other GetFirst*() and GetNext*() pairs of commands, GetFirstFactionMember() is used to initialize the iterator while GetNextFactionMember() moves the iterator to the next item.
|
dcterms:subject
| |
dbkwik:nwn2/proper...iPageUsesTemplate
| |
returns
| |
Name
| - GetFirstFactionMember
- GetNextFactionMember
|
param
| - int bPCOnly
- object oMemberOfFaction
|
param2default
| |
param2desc
| - If TRUE, the iteration will only return player characters; if FALSE it will return both player- and non-player characters.
|
param1desc
| - Any member of the faction whose members the iteration is to cycle through.
|
dbkwik:nwn/property/wikiPageUsesTemplate
| |
abstract
| - function GetFirstFactionMember (object oMemberOfFaction, int bPCOnly=TRUE) Get the first member of oMemberOfFaction's faction (start to cycle through oMemberOfFaction's faction)
* Returns OBJECT_INVALID if oMemberOfFaction's faction is invalid.
* Return type: object
* Include file: nwscriptdefn
- The GetFirstFactionMember() and GetNextFactionMember() NWScript commands iterate through all members of a faction, possibly a faction that consists of a party of player characters and associates. As with the other GetFirst*() and GetNext*() pairs of commands, GetFirstFactionMember() is used to initialize the iterator while GetNextFactionMember() moves the iterator to the next item.
|