Garry's Mod Wiki

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() )

Page Links


Special Pages


Wikis

?

Render Time: 40ms

Session 0
DB GetPage 3
Generate Html 13
SaveChanges 8
Render Body 0
Render Sidebar 13