Nuclide
Software Development Kit for id Technology
script_model Class Reference

About this class

Server-Entity: Scriptable Alias Model.

QUAKED script_model (1 0 0) (-16 -16 -16) (16 16 16) ORIENT_LOD NO_SHADOW NO_STATIC_SHADOWS

OVERVIEW

Upon being triggered, the entity will spawn item_food in its place in the shape of a soda can.

KEYS

  • "targetname" : Name
  • "model" : Path of the model.

SPAWNFLAGS

  • ORIENT_LOD (1) : Turn to player when lod models change
  • NO_SHADOW (2) : Will cast no shadows.
  • NO_STATIC_SHADOWS (4) : Will cast no lightmap shadows.

TRIVIA

This entity was introduced in Call of Duty (2003).

Inheritance diagram for script_model:
NSPointTrigger

Public Member Functions

void script_model (void)
 
virtual void Trigger (entity, triggermode_t)
 Called whenever we're legacy triggered by another object or function. More...
 

Constructor & Destructor Documentation

◆ script_model()

void script_model::script_model ( void  )

Member Function Documentation

◆ Trigger()

void script_model::Trigger ( entity  act,
triggermode_t  state 
)
virtual

Called whenever we're legacy triggered by another object or function.

Reimplemented from NSTrigger.


The documentation for this class was generated from the following file: