SetSkin (script event)

Game class

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

Description

Sets the skin this entity uses.

Usage

void setSkin( string skinName )

Parameters

  • [skinName] - The skin to apply to this entity.

Examples

 
$my_entity.setSkin("skins/elevator_door_dirty");

Notes

This script event does not return any values.

Set to “” to turn off the skin.