VP_EVENT_TERRAIN_NODE_CHANGED

From Virtual Paradise Wiki
Revision as of 08:22, 22 July 2018 by Sleepy E (talk | contribs) (Added missing sdk event)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Event set and handler snippet

vp_event_set(instance, VP_EVENT_TERRAIN_NODE_CHANGED, event_terrain_node_changed);

void event_terrain_node_changed(VPInstance instance) { }

Received when a terrain node is changed by a client in the current world.

Attributes

Attribute Usage
VP_TERRAIN_TILE_X X of terrain tile node belongs to
VP_TERRAIN_TILE_Z Z of terrain tile node belongs to
VP_TERRAIN_NODE_X Node's X position relative to tile
VP_TERRAIN_NODE_Z Node's Z position relative to tile

Behavior

  • This will fire for any terrain changes made in the entire world.

Examples

This event has no usage examples; please add at least one to this page

See also