Category: Objects
/ Vertices
Since engine version: 1.0 OC
VerticesStuck
Description
Returns the number of stuck vertices of *obj
Syntax
int VerticesStuck(object obj);
Parameter
- obj:
- [opt] Target object
Example
var obj = FindObject(Find_ID(Dynamite)); if (VerticesStuck(obj) > 1) RemoveObject(obj);
Removes obj if two or more of its vertices are stuck.