Skip to content

S_ObjectCreateIndex

DummkopfOfHachtenduden edited this page Sep 19, 2021 · 1 revision

Creates a ScriptObject from index

Parameters

Nr Name Type Value range
1. ObjectID string ObjID or *player
2. ObjectIndex int 1 - 51 or #rand(1, 51)
3. RegionX int 0 - 255
4. RegionZ int 0 - 128
5. OffsetX float 0 - 1920
6. OffsetY float 0 - 1920
7. OffsetZ float 0 - 1920
8. Rotation float 0 - 360
9. Scale float

Example

1.0 S_ObjectCreateIndex obj01 #rand(1,51) 140 91 1445 28 1328 0.0 1.0

See also

S_ObjectRelease
ObjectIndex

Clone this wiki locally