行者脚本指令说明(Walker scripting instructions)
行者脚本指令说明(Walker scripting instructions)
Refer to the editor's instructions:
A script must take a row, before it is the instruction name, the instruction parameter in it, and no arguments can be written (). If not, the No Ins will be prompted
Command names can be case by case
Conditional instructions, if correct judgment will execute the next instruction or follow the instructions in the following is otherwise, skip the next instruction
Or skip the following instructions in the continue {}
Cases:
ITEMCOUNT (back to town volume, < 1)
{
MSG (no back to the city volume, the use of back to the city)
JMP (back to town)
}
USEITEM (back to town)
DELAY (5000)
or
ITEMCOUNT (back volumes, > =, 1)
JMP (back to town)
MSG (no back to the city, back to town)
...
Action instruction:
MOVETO (x, y, z)
Explanation: move to x, y, Z
NPCSEL (name [ID=x])
Description: select NPC
NPCDLG (name [ID=x])
Explanation: talk to NPC
DLGSEL (name)
Explanation: Dialogue selection
GOHOME ()
Explanation: death returns to the city
SAY (text)
Explanation: speaking normally
MSG (text)
Note: plug-in hints, others can not see
UseSkill (name [ID=x], SELF|PLAYER|PARTY|NPC|PET, TargetName)
Directions: use skills for assigned goals
Name [ID=x]: indicates skill, name, and ID
SELF|PLAYER|PARTY|NPC|PET: represents the target category, only one can be selected, SELF represents the player himself, PLAYER represents the other player, PARTY stands for the player, NPC stands for NPC, and PET refers to the pet
TargetName: target name
For example: UseSkill (protection shield, [ID=1040], PLAYER, Walker) means the player Walker uses skills to protect the shield
IsMember (player name)
Note: to determine whether a game player is team members, if team members is executed after the instruction in {}
For example: IsMember (Walker)
IsMember! (player name)
Note: the game player is not team members, team members, if not after the execution of the instruction in {}
For example: IsMember (Walker)
RequestJoinParty (player name, assi