Garry's Mod Wiki

ClientsideScene

ClientsideScene

  CSEnt ClientsideScene( string name, Entity targetEnt )

Description

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

Arguments

1 string name
The name of the scene.
2 Entity targetEnt
The entity to play the scene on.

Returns

1 CSEnt
C_SceneEntity

Example

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

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

Special Pages


Wikis

?

Render Time: 59ms

DB GetPage 40
Generate Html 3
SaveChanges (1) 6
Render Body 0
Render Sidebar 6