• Studio

  • Bots

  • Web API

  • Designer Resources

  • Host Resources

  • Event

    Event in Highrise signifies key moments or changes in the game environment, facilitating dynamic and responsive gameplay. It provides a structured way to define, trigger, and respond to in-game occurrences, such as a player joining or leaving. Events can be triggered on specific clients, all clients, or on the server, with corresponding actions attached through connections to functions. This mechanism is pivotal for creating interactive and adaptive game experiences.

    Properties

    name

    string

    ServerAndClient

    Identifies the event, aiding in differentiation and specific event handling.

    Methods

    ServerAndClient

    Activates the event for a particular client, enabling targeted notifications or actions.

    Returns

    void

    No return value, action is triggered client-side.

    ServerOnly

    Broadcasts the event to all connected clients, useful for global notifications or updates.

    Returns

    void

    No return value, action impacts all clients.

    Triggers the event on the server side, often leading to updates in game state or other server-managed data.

    Returns

    void

    No return value, action takes place on the server.

    ServerAndClient

    Establishes a linkage between the event and a specific response function, ensuring automatic execution upon event triggering.

    Returns

    EventConnection

    An EventConnection instance denoting the connection between the event and its response function.

    PocketWorlds Icon

    © 2024 Pocket Worlds. All rights reserved.