Difference between revisions of "List of Jabroni Brawl: Episode 3 Script Functions"

From Valve Developer Community
Jump to: navigation, search
m
 
Line 46: Line 46:
 
|-
 
|-
 
|}
 
|}
 +
 +
=== CPlayerVoiceListener ===
 +
 +
In JBEP3, the <code>PlayerVoiceListener</code> instance has been implemented.
  
 
== Global functions ==
 
== Global functions ==

Latest revision as of 16:19, 22 July 2021

English

Squirrel Language <Jabroni Brawl: Episode 3> Jabroni Brawl: Episode 3's implementation of VScript is built on Counter-Strike: Global Offensive Counter-Strike: Global Offensive's. This list only contains classes, functions and variables that differ from CSGO's implementation.

Classes

CBaseEntity

Methods

Function Signature Description
SetName void SetName(string name) Sets the target name of the entity.
SetParent void SetParent(handle parent) Sets the parent of an entity.
SetParentAttachment void SetParentAttachment(handle parent, int index) Sets the parent of an entity, as well as the attachment point (by index).
Bonemerge void Bonemerge(handle target) Starts following an entity via bonemerge.

CEntities

Methods

Function Signature Description
CreateNoSpawn handle CreateNoSpawn(string classname) Creates an entity by classname without spawning it.

CPlayerVoiceListener

In JBEP3, the PlayerVoiceListener instance has been implemented.

Global functions

Other

Function Signature Description
GetPlayerByUserID handle GetPlayerByUserID(int userid) Gets a handle to a player from their userID.
DispatchSpawn void DispatchSpawn(handle entity) Spawns an entity that has been created but not spawned yet.

Removed functions

Function Signature Description
CreateProp handle CreateProp(string classname, Vector origin, string model, int animation) Create a prop with the specified class and model. Both prop_physics, prop_dynamic as well as some other entity classes with models work. Does not precache the model.

See also