From Ryzom Forge Wiki
(Created page with "<noinclude>{{tabLang|EN|DE|Check PlayerInfos ARCC EN|ES|Check PlayerInfos ARCC FR|RU}} ===Check PlayerInfos===</noinclude> {{WIP}} {| |32px |Nom interne de...") |
|||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | <noinclude>{{tabLang|EN|DE|Check PlayerInfos ARCC EN|ES|Check PlayerInfos ARCC FR|RU}} | + | <noinclude>{{migrated to|:en:Check PlayerInfos ARCC}}{{tabLang|EN|Check PlayerInfos ARCC DE|Check PlayerInfos ARCC EN|Check PlayerInfos ARCC ES|Check PlayerInfos ARCC FR|Check PlayerInfos ARCC RU}} |
+ | {{toTrad|FR|À revérifier par rapport à la [[ARCC_intro_EN| version anglaise]] maintenue à jour}} | ||
+ | {{WIP}} | ||
===Check PlayerInfos===</noinclude> | ===Check PlayerInfos===</noinclude> | ||
− | |||
{| | {| | ||
|[[File: Vcard.png|32px]] | |[[File: Vcard.png|32px]] | ||
− | | | + | |Function name : ''' ''we<big>C</big>PlayerInfos'' ''' |
|} | |} | ||
− | '''we<big>C</big>PlayerInfos''' | + | '''we<big>C</big>PlayerInfos''' can test any information stored on the server for the player and run an appropriate action. |
<div style="overflow: hidden"> | <div style="overflow: hidden"> | ||
[[File: WeCPlayerInfos.png|200px|thumb|left|WeCPlayerInfos window ]] | [[File: WeCPlayerInfos.png|200px|thumb|left|WeCPlayerInfos window ]] | ||
− | *'''1)''' checks: | + | *'''1)''' checks: A list of tests that will be performed in this step added by the "plus" icon. <span style="color:#f0f">('''[commun]''' tool for multi sub-selections)</span> |
− | *'''2)''' valideAction: | + | *'''2)''' valideAction: Action to do if all the tests are validated (True). |
− | *'''3)''' failAction: | + | *'''3)''' failAction: Action to do if at least one test is not validated (False). |
− | *'''4)''' resetScriptIfFailed: ( | + | *'''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: | + | *'''6)''' hiddenWindow (Yes / No) |
− | *'''6)''' hiddenWindow ( | + | *'''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> | ||
</div> | </div> | ||
==== weCPlayerFaction ==== | ==== weCPlayerFaction ==== | ||
− | + | Tests if the player belongs to a faction. | |
{| | {| | ||
|[[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 | + | :*neutral civ, neutral cult, neutral civ cult; |
− | :* | + | :*fyros, matis tryker, zorai; |
− | :*fyros, matis | + | :*kami, karavan; |
− | :*kami, karavan | + | :*marauder, ranger, trytonist. |
− | :* | ||
− | |||
|} | |} | ||
− | |||
==== weCPlayerDappers ==== | ==== weCPlayerDappers ==== | ||
− | + | Tests if the player has a certain amount of dappers. | |
{| | {| | ||
|[[File: Money euro.png|32px]] | |[[File: Money euro.png|32px]] | ||
| | | | ||
− | + | *'''1)''' Quantity: quantity of required dappers. | |
− | *'''1)''' Quantity: | ||
− | |||
|} | |} | ||
==== weCPlayerPosition ==== | ==== 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. | |
{| | {| | ||
|[[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: | + | *'''2)''' min_y: minimum y-coordinate in absolute in the map of Atys. |
− | *'''2)''' min_y: | + | *'''3)''' max_x: maximum x-coordinate in absolute in the map of Atys. |
− | *'''3)''' max_x: | + | *'''4)''' max_y: maximum y-coordinate in absolute in the map of Atys. |
− | *'''4)''' max_y: | ||
− | |||
|} | |} | ||
==== weCPlayerItem ==== | ==== weCPlayerItem ==== | ||
− | + | Tests if a certain amount of item at certain level is present in one of the containers of the player. | |
{| | {| | ||
|[[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: | + | *'''2)''' sheet name |
− | *'''2)''' | + | *'''3)'''Quality: the required quality of the item. |
− | *'''3)''' | + | *'''4)''' minQuantity: the minimum amount. |
− | *'''4)''' minQuantity: | ||
− | |||
|} | |} | ||
==== weCPlayerTarget ==== | ==== weCPlayerTarget ==== | ||
− | + | Tests if the target is the desired one. | |
{| | {| | ||
|[[File: Arrow in.png|32px]] | |[[File: Arrow in.png|32px]] | ||
| | | | ||
− | + | *'''1)''' type: Sheet, bot_name, player_name, leaguemate, teammate or guildmate. | |
− | *'''1)''' type | + | *'''2)''' Value: the first three types require precision (Sheet, bot_name, player_name) |
− | *'''2)''' | ||
− | |||
|} | |} | ||
==== weCPlayerFame ==== | ==== weCPlayerFame ==== | ||
− | + | Tests reputation in the nations and factions. | |
{| | {| | ||
|[[File: Award star gold 1.png|32px]] | |[[File: Award star gold 1.png|32px]] | ||
| | | | ||
− | + | *'''1)''' faction: faction that can be tested are: | |
− | *'''1)''' faction: | ||
:*fyros, matis, tryker, zoraï | :*fyros, matis, tryker, zoraï | ||
:*kami, karavan | :*kami, karavan | ||
− | + | ::Combinations may be used to test marauders, rangers... | |
− | *'''2)''' below_or_above: | + | *'''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: | + | *'''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)'''. |
− | |||
|} | |} | ||
==== weCPlayerGuild ==== | ==== weCPlayerGuild ==== | ||
− | + | Tests the rank of the player in his guild | |
{| | {| | ||
|[[File: Group.png|32px]] | |[[File: Group.png|32px]] | ||
| | | | ||
− | + | *'''1)''' rank: Leader, High Officer, Officer, Member. | |
− | *'''1)''' rank: | ||
− | |||
|} | |} | ||
==== weCPlayerGuildDappers ==== | ==== weCPlayerGuildDappers ==== | ||
− | + | Tests if a minimum amount of dappers is in the treasury of the guild. | |
{| | {| | ||
|[[File: Money dollar.png|32px]] | |[[File: Money dollar.png|32px]] | ||
| | | | ||
− | + | *'''1)''' Quantity: quantity of required dappers. | |
− | *'''1)''' Quantity: | ||
− | |||
|} | |} | ||
==== weCPlayerFreetrial ==== | ==== weCPlayerFreetrial ==== | ||
− | Test | + | Test if the player is free version or not. |
{| | {| | ||
|[[File: Emotion tongue.png|32px]] | |[[File: Emotion tongue.png|32px]] | ||
| | | | ||
− | |||
'''no params''' | '''no params''' | ||
− | |||
|} | |} | ||
− | |||
<noinclude> | <noinclude> | ||
'''[[ARCC Guide EN|←ARCC Guide EN]]''' | '''[[ARCC Guide EN|←ARCC Guide EN]]''' | ||
+ | {{In_Category|ARCC}} | ||
{{TPInWikiRyzom}} | {{TPInWikiRyzom}} | ||
− | |||
[[Category:Tutorials]] | [[Category:Tutorials]] | ||
[[Category:ARCC]] | [[Category:ARCC]] | ||
[[Category:EN]]</noinclude> | [[Category:EN]]</noinclude> |
Latest revision as of 13:42, 16 January 2019
Migration
Please use the migrated document at URL shown below.
WIP
in Arbeit -
work in progress -
trabajo en curso -
travaux en cours -
незавершенное
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 |
63 pages in ARCC