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...") |
|||
Line 1: | Line 1: | ||
<noinclude>{{tabLang|EN|DE|Check PlayerInfos ARCC EN|ES|Check PlayerInfos ARCC FR|RU}} | <noinclude>{{tabLang|EN|DE|Check PlayerInfos ARCC EN|ES|Check PlayerInfos ARCC FR|RU}} | ||
===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. |
− | *'''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). |
<div style="margin:0em; padding:0em;border: none;background:yellow;"> | <div style="margin:0em; padding:0em;border: none;background:yellow;"> | ||
− | *'''5)''' openWindow: | + | *'''5)''' openWindow: Window to be open to display the tests results. (None, WebIG, Browse NPC, Web Transaction). |
− | *'''6)''' hiddenWindow ( | + | *'''6)''' hiddenWindow (Yes / No) |
</div> | </div> | ||
− | *'''7)''' <span style="color:#f0f">'''[commun]'''</span> | + | *'''7)''' <span style="color:#f0f">'''[commun]'''</span> Internal name of the function. This name is used especially for jumps, loops ... |
</div> | </div> | ||
==== weCPlayerFaction ==== | ==== weCPlayerFaction ==== | ||
− | + | Tests if the player belongs to a faction. | |
{| | {| | ||
|[[File:Medal gold 1.png|32px]] | |[[File:Medal gold 1.png|32px]] | ||
| | | | ||
<div style="margin:0em; padding:0em;border: none;background:yellow;"> | <div style="margin:0em; padding:0em;border: none;background:yellow;"> | ||
− | *'''1)''' faction: faction | + | *'''1)''' faction: faction to test. This faction may take one of the following: |
− | :* | + | :*neutral civ, neutral cult, neutral civ cult; |
− | :*fyros, matis | + | :*fyros, matis tryker, zorai; |
− | :*kami, karavan | + | :*kami, karavan; |
− | :* | + | :*marauder, ranger, trytonist. |
</div> | </div> | ||
|} | |} | ||
− | |||
==== weCPlayerDappers ==== | ==== weCPlayerDappers ==== | ||
− | + | Tests if the player has a certain amount of dappers. | |
{| | {| | ||
|[[File: Money euro.png|32px]] | |[[File: Money euro.png|32px]] | ||
| | | | ||
<div style="margin:0em; padding:0em;border: none;background:yellow;"> | <div style="margin:0em; padding:0em;border: none;background:yellow;"> | ||
− | *'''1)''' Quantity: | + | *'''1)''' Quantity: quantity of required dappers. |
</div> | </div> | ||
|} | |} | ||
==== 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]] | ||
| | | | ||
<div style="margin:0em; padding:0em;border: none;background:yellow;"> | <div style="margin:0em; padding:0em;border: none;background:yellow;"> | ||
− | *'''1)''' min_x: | + | *'''1)''' min_x: minimum x-coordinate in absolute in the map of Atys. |
− | *'''2)''' min_y: | + | *'''2)''' min_y: minimum y-coordinate in absolute in the map of Atys. |
− | *'''3)''' max_x: | + | *'''3)''' max_x: maximum x-coordinate in absolute in the map of Atys. |
− | *'''4)''' max_y: | + | *'''4)''' max_y: maximum y-coordinate in absolute in the map of Atys. |
</div> | </div> | ||
|} | |} | ||
==== 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]] | ||
| | | | ||
<div style="margin:0em; padding:0em;border: none;background:yellow;"> | <div style="margin:0em; padding:0em;border: none;background:yellow;"> | ||
− | *'''1)''' inventory: | + | *'''1)''' inventory: Location where should be found the item: bag, player_room, guild, pet_animal (1-4) or temporary. |
− | *'''2)''' | + | *'''2)''' sheet name |
− | *'''3)''' | + | *'''3)'''Quality: the required quality of the item. |
− | *'''4)''' minQuantity: | + | *'''4)''' minQuantity: the minimum amount. |
</div> | </div> | ||
|} | |} | ||
− | + | {{WIP}} | |
==== weCPlayerTarget ==== | ==== weCPlayerTarget ==== | ||
Teste si la cible est celle souhaitée. | Teste si la cible est celle souhaitée. |
Revision as of 13:37, 19 September 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.
WIP
in Arbeit -
work in progress -
trabajo en curso -
travaux en cours -
незавершенное
weCPlayerTarget
Teste si la cible est celle souhaitée.
|
weCPlayerFame
Teste la réputation dans les nations et factions standard.
weCPlayerGuild
Teste le grade du joueur dans sa guilde
|
weCPlayerGuildDappers
Teste si une quantité minimum de dappers est dans le trésor de la guilde.
|
weCPlayerFreetrial
Test si le joueur est en version gratuite ou non.
no params |