171 {
172
174 {
175
177 {
184 mat[3] = spawnPos;
185 il.SetGround(NULL, mat);
186
188 }
189 }
190 }
const int ECE_PLACE_ON_SURFACE
const ref array< string > SPAWN_ITEM_TYPE
const ref array< int > SPAWN_ITEM_COUNT
const ref array< float > SPAWN_ITEM_RAD_MIN
const ref array< float > SPAWN_ITEM_RAD_MAX
vector m_Position
Cached world position.
proto native Object CreateObjectEx(string type, vector pos, int iFlags, int iRotation=RF_DEFAULT)
Creates object of certain type.
static vector RandomDir2D()
Returns randomly generated XZ unit vector with the Y(up) axis set to 0.
proto native CGame GetGame()
static void MatrixIdentity4(out vector mat[4])
Creates identity matrix.
static float RandomFloatInclusive(float min, float max)
Returns a random float number between and min [inclusive] and max [inclusive].