SetSkin (script event)

From modwiki

Jump to: navigation, search

Description

Sets the skin this entity uses.

Usage

In your script type...

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.


Personal tools
Main