Signature
UnhideStaticModel(<smodelIndex>)
Parameters
| Name | Required? | Details |
|---|---|---|
| smodelIndex | Required | The index of the static model to toggle |
Example (from Treyarch's docs)
UnhideStaticModel( model )
Real uses in BO3's scripts
Called 9 times in the decompiled scripts. A few, zombies first:
- scripts/zm/zm_stalingrad_ambient.csc, line 197
unhidestaticmodel(n_model_index); - scripts/zm/zm_stalingrad_ambient.csc, line 215
unhidestaticmodel(n_model_index); - scripts/zm/zm_zod.csc, line 286
unhidestaticmodel(var_3153c901[0]); - scripts/zm/zm_zod.csc, line 290
unhidestaticmodel(var_3153c901[0]); - scripts/cp/cp_mi_cairo_ramses.csc, line 335
unhidestaticmodel(model);
Related built-ins
- FindStaticModelIndexArray()Returns an array indices of a static model whose name matches the passed in string
- HideStaticModel()Hide a static model
- FindStaticModelIndex()Returns an index of a static model whose origin matches the passed in position
- PlayViewmodelFX()
- GetCameraSpikeCamStatic()Returns 1 if a client sees static on the camera-spike cam, 0 otherwise
- SetCameraSpikeCamStatic()Sets whether a client sees static on the camera-spike cam
- SetModel()Set the model for the entity
- SetUIModelValue()Sets a UIModel from the model being passed in.
- CreateUIModel()Creates and returns a UIModel from a parent model.
- GetUIModel()Returns a UIModel from the parent model passed in and the name of the model to retrieve.
- ForceStreamXModel()Forces the streamer to load model and texture LODs for a model even if it isn't yet visible.
- GetUIModelForController()Returns the UIModel from the controller root.
New to GSC?
Start with the basics, or paste a compile error to get the fix.
Built-in descriptions, parameters and examples come from Treyarch's BO3 mod tools docs. Usage links point at shiversoftdev/t7-source (decompiled BO3 scripts).