Skip to content

mp_grid_set_instance

CryoEagle edited this page Feb 13, 2019 · 1 revision

mp_grid_set_instance

Sets instance that will be moved on grid

Syntax:

mp_grid_set_instance(go, empty)
Argument Description
GameObject go Object that will be checked in grid
bool empty Option that sets an object is empty or not

Returns: void

Description:

This function will set and prepare instance to a grid.

Example:

mp_grid_set_instance(this);

Above code will set object to grid where is this code used.

Back to Motion Planning

Clone this wiki locally