-
Notifications
You must be signed in to change notification settings - Fork 5
Event Command Options
If you want that certain event command (line) can be executed only for certain player (don't matter who starts event), actor or game master, you can setup event command starting rules (options) using Command Options plugin command (MZ only) or special comment command (MZ and MV).

Command Options plugin command or special comment should be above event command to which it is applied!
(Example: we want gain gold for all players)

-
Virtual- execute event command on another client directly (with using event ID), any scene (during event too) -
Common Event- execute event command on another client as Common event (event ID is unknown), will wait Map Scene and will wait until another event execution is ends -
Auto- default and recommended in most cases, if you don't know how mode better for execute command
Common Event or Virtual modes
(For examples see map Events_via_NetPlugComs in Alpha NET Z Demo Project)
Alternative way to setup event command options is using special comment command

Command: N
Arguments:
Selector (who can start):
- all
- master
- !master
- forActors ID, ID, ID...
- !forActors ID, ID, ID...
- !me
Scope: (by default is same map)
- world
Execute Mode: (by default is Auto)
- virtual
- common
Example: N all virtual, N !me world common, N forActors 1, 3
(For examples see map Events_via_NetComments in Alpha NET Z Demo Project)
Comment commands: N localActor, N localActor end

In events commands where you should select certain actor (like Change HP, Change Level, Change Skill, Change Class, etc...) you can set Local Actor mode that mean's - not matter what Actor (ID) you select in command, changes will be applied to current player (who starts event) Actor.
Entire Party, don't use N localActor, select Entire Party - it's will affects in same way

If only certain Actor select, then use N localActor and better after command use N localActor end

Example: Change name for current player Actor (don't matter what Actor player choose before)
