VP_EVENT_TERRAIN_NODE_CHANGED
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