Difference between revisions of "Check PlayerInfos ARCC EN"
From Ryzom Forge Wiki
m |
|||
Line 12: | Line 12: | ||
*'''3)''' failAction: Action to do if at least one test is not validated (False). | *'''3)''' failAction: Action to do if at least one test is not validated (False). | ||
*'''4)''' resetScriptIfFailed: (Yes / No) Resetting the script if failure (at least one test is not validated). | *'''4)''' resetScriptIfFailed: (Yes / No) Resetting the script if failure (at least one test is not validated). | ||
− | |||
*'''5)''' openWindow: Window to be open to display the tests results. (None, WebIG, Browse NPC, Web Transaction). | *'''5)''' openWindow: Window to be open to display the tests results. (None, WebIG, Browse NPC, Web Transaction). | ||
*'''6)''' hiddenWindow (Yes / No) | *'''6)''' hiddenWindow (Yes / No) | ||
− | |||
*'''7)''' <span style="color:#f0f">'''[commun]'''</span> Internal name of the function. This name is used especially for jumps, loops ... | *'''7)''' <span style="color:#f0f">'''[commun]'''</span> Internal name of the function. This name is used especially for jumps, loops ... | ||
</div> | </div> | ||
Line 24: | Line 22: | ||
|[[File:Medal gold 1.png|32px]] | |[[File:Medal gold 1.png|32px]] | ||
| | | | ||
− | |||
*'''1)''' faction: faction to test. This faction may take one of the following: | *'''1)''' faction: faction to test. This faction may take one of the following: | ||
:*neutral civ, neutral cult, neutral civ cult; | :*neutral civ, neutral cult, neutral civ cult; | ||
Line 30: | Line 27: | ||
:*kami, karavan; | :*kami, karavan; | ||
:*marauder, ranger, trytonist. | :*marauder, ranger, trytonist. | ||
− | |||
|} | |} | ||
Line 38: | Line 34: | ||
|[[File: Money euro.png|32px]] | |[[File: Money euro.png|32px]] | ||
| | | | ||
− | |||
*'''1)''' Quantity: quantity of required dappers. | *'''1)''' Quantity: quantity of required dappers. | ||
− | |||
|} | |} | ||
Line 48: | Line 42: | ||
|[[File: Map magnify.png|32px]] | |[[File: Map magnify.png|32px]] | ||
| | | | ||
− | |||
*'''1)''' min_x: minimum x-coordinate in absolute in the map of Atys. | *'''1)''' min_x: minimum x-coordinate in absolute in the map of Atys. | ||
*'''2)''' min_y: minimum y-coordinate in absolute in the map of Atys. | *'''2)''' min_y: minimum y-coordinate in absolute in the map of Atys. | ||
*'''3)''' max_x: maximum x-coordinate in absolute in the map of Atys. | *'''3)''' max_x: maximum x-coordinate in absolute in the map of Atys. | ||
*'''4)''' max_y: maximum y-coordinate in absolute in the map of Atys. | *'''4)''' max_y: maximum y-coordinate in absolute in the map of Atys. | ||
− | |||
|} | |} | ||
Line 61: | Line 53: | ||
|[[File: Package.png|32px]] | |[[File: Package.png|32px]] | ||
| | | | ||
− | |||
*'''1)''' inventory: Location where should be found the item: bag, player_room, guild, pet_animal (1-4) or temporary. | *'''1)''' inventory: Location where should be found the item: bag, player_room, guild, pet_animal (1-4) or temporary. | ||
*'''2)''' sheet name | *'''2)''' sheet name | ||
*'''3)'''Quality: the required quality of the item. | *'''3)'''Quality: the required quality of the item. | ||
*'''4)''' minQuantity: the minimum amount. | *'''4)''' minQuantity: the minimum amount. | ||
− | |||
|} | |} | ||
Line 74: | Line 64: | ||
|[[File: Arrow in.png|32px]] | |[[File: Arrow in.png|32px]] | ||
| | | | ||
− | |||
*'''1)''' type: Sheet, bot_name, player_name, leaguemate, teammate or guildmate. | *'''1)''' type: Sheet, bot_name, player_name, leaguemate, teammate or guildmate. | ||
*'''2)''' Value: the first three types require precision (Sheet, bot_name, player_name) | *'''2)''' Value: the first three types require precision (Sheet, bot_name, player_name) | ||
− | |||
|} | |} | ||
Line 85: | Line 73: | ||
|[[File: Award star gold 1.png|32px]] | |[[File: Award star gold 1.png|32px]] | ||
| | | | ||
− | |||
*'''1)''' faction: faction that can be tested are: | *'''1)''' faction: faction that can be tested are: | ||
:*fyros, matis, tryker, zoraï | :*fyros, matis, tryker, zoraï | ||
Line 92: | Line 79: | ||
*'''2)''' below_or_above: determines if the test is on the lower or higher of the following''' '' value'' ''' given in next field '''(3)'''. | *'''2)''' below_or_above: determines if the test is on the lower or higher of the following''' '' value'' ''' given in next field '''(3)'''. | ||
*'''3)''' Valeur: minimum or maximum level required for the fame respectively with the comparison selected in the previous field below_or_above ''below_or_above'' '''(2)'''. | *'''3)''' Valeur: minimum or maximum level required for the fame respectively with the comparison selected in the previous field below_or_above ''below_or_above'' '''(2)'''. | ||
− | |||
|} | |} | ||
Line 100: | Line 86: | ||
|[[File: Group.png|32px]] | |[[File: Group.png|32px]] | ||
| | | | ||
− | |||
*'''1)''' rank: Leader, High Officer, Officer, Member. | *'''1)''' rank: Leader, High Officer, Officer, Member. | ||
− | |||
|} | |} | ||
Line 110: | Line 94: | ||
|[[File: Money dollar.png|32px]] | |[[File: Money dollar.png|32px]] | ||
| | | | ||
− | |||
*'''1)''' Quantity: quantity of required dappers. | *'''1)''' Quantity: quantity of required dappers. | ||
− | |||
|} | |} | ||
Line 120: | Line 102: | ||
|[[File: Emotion tongue.png|32px]] | |[[File: Emotion tongue.png|32px]] | ||
| | | | ||
− | |||
'''no params''' | '''no params''' | ||
− | |||
|} | |} | ||
<noinclude> | <noinclude> |
Revision as of 17:46, 7 November 2014
Contents
Check PlayerInfos
Function name : weCPlayerInfos |
weCPlayerInfos can test any information stored on the server for the player and run an appropriate action.
weCPlayerFaction
Tests if the player belongs to a faction.
|
weCPlayerDappers
Tests if the player has a certain amount of dappers.
|
weCPlayerPosition
Examines the position of the player. If the player is in the rectangle bounded by coordinates mi /max x/y the return value is TRUE.
weCPlayerItem
Tests if a certain amount of item at certain level is present in one of the containers of the player.
weCPlayerTarget
Tests if the target is the desired one.
|
weCPlayerFame
Tests reputation in the nations and factions.
weCPlayerGuild
Tests the rank of the player in his guild
|
weCPlayerGuildDappers
Tests if a minimum amount of dappers is in the treasury of the guild.
|
weCPlayerFreetrial
Test if the player is free version or not.
no params |