Garry's Mod Wiki

Garry's Mod Wiki

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

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...