ClientsideScene

From Garry's Mod
Jump to: navigation, search
 ClientsideScene( )

Contents

Description

Creates a scene entity based on the scene name and the entity.

Arguments

string name

The name of the scene.

Arguments

Entity targetEnt

The entity to play the scene on.

Returns

CSEnt

C_SceneEntity

Examples

Example

Plays "I guess you should go with Alyx" line from HL2.

ClientsideScene( "scenes/eli_lab/mo_gowithalyx01.vcd", LocalPlayer() )


Personal tools
Navigation