SetModel (script event)

Game class

This event operates on an instance of the game class type {{{gameclass}}}

Description

Sets the model this entity uses.

Usage

void setModel( string modelName )

Parameters

  • [modelName] - The name of the model to apply to this entity.

Examples

 
$my_entity.setModel("models/items/bullet_ammo/bullet_small.lwo");

Notes

This script event does not return any values.