Skip to content

How do you not have an event only in multiplayer? #2

@Xyphien

Description

@Xyphien

You mentioned to use nAPI.isNetworkGame(); (is current game in multiplayer?) but I have no idea how to go about doing this.

So do I do something like nAPI.isNetworkGame() == on;
or am I simply copying and pasting:
nAPI.isNetworkGame() - is current game in multiplayer?
If so, what exactly does this mean? Does that mean I paste that whenever I want something to not be in multiplayer, or when I want something to be put in multiplayer? The link you sent has nothing on that at all, and it actually shows it slightly different than the one you posted above.

Or would I do it like nAPI.isNetworkGame() == "on";
or nAPI.isNetworkGame() == (on);

or
nAPI.isNetworkGame(on) == true;

or

nAPI.isNetworkGame(true) == on;

I have literally no idea which one to do

I've tried a conditional branch script, and tried everything to include nAPI.isNetworkGame("Firema","Waterma","Earthma","Billy","Foxea") == "false")

None of that works. The link you sent me to does not have any information on what to put where or how to make it so it works so I am 100% lost here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions