Game Script Methods (BO2): Difference between revisions
| Line 4,612: | Line 4,612: | ||
| conststring getstance() | | conststring getstance() | ||
| {{ScriptUsage | | {{ScriptUsage | ||
|Summary= | |Summary=Returns the current stance by the player. The returned value is either prone, stand or crouch | ||
|Example=<pre></pre> | |Example=<pre>currentstance = player getstance();</pre> | ||
}} | }} | ||
|- | |- | ||
Revision as of 15:30, 20 October 2015
Player Methods
| Prototype | Description |
|---|---|
| void giveweapon( string weapon, int altModelIndex, int weaponOptions ) void giveweapon( string weapon, int altModelIndex ) void giveweapon( string weapon ) |
Summary: Gives a weapon to the specified client with an optional argument for camo and attachments. A full list containing all the weapon names can be found here http://pastebin.com/wEq07Yzw player giveweapon("mp7_mp", 255, 0);
|
| void updateweaponoptions( string weapon, int weaponOptions ) | Summary:
|
| void setblockweaponpickup( string weapon, int blockWeaponPickup ) | Summary:
|
| int calcweaponoptions( int camo, int lens, int reticle, int tag, int emblem ) int calcweaponoptions( int camo, int lens, int reticle, int tag ) int calcweaponoptions( int camo, int lens, int reticle ) int calcweaponoptions( int slotIndex, int weaponType ) |
Summary:
|
| int calcplayeroptions( int ) | Summary:
|
| void setplayerrenderoptions( int ) | Summary:
|
| void nextplayerrenderoption( string ) | Summary:
|
| void bbclasschoice( int, string, string ) | Summary:
|
| void sethighlighted() | Summary:
|
| void takeweapon( string ) | Summary: Removes the first occurrence of the specified weapon from a client. player takeweapon("mp7_mp");
|
| bool isthrowinggrenade() | Summary: Returns true if the specified client is throwing a grenade. if (player isthrowinggrenade()) |
| void forcegrenadethrow() | Summary: Forces the specified client to throw a grenade. player forcegrenadethrow(); |
| bool isfiring() | Summary: Returns true if the specified client is shooting. if (player isfiring()) |
| bool ismeleeing() | Summary: Returns true if the specified client is meleeing. if (player ismeleeing()) |
| bool isswitchingweapons() | Summary: Returns true if the specified client is switching weapons. if (player isswitchingweapons()) |
| bool isreloading() | Summary: Returns true if the specified client is reloading. if (player isreloading()) |
| void takeallweapons() | Summary: Removes all weapons from the specified client including the default melee knife. player takeallweapons(); |
| bool isinmovemode() | Summary:
|
| string getcurrentweapon() | Summary: Returns the specified clients currently held weapon. currentWeapon = player getcurrentweapon(); |
| float getcurrentweaponspinlerp() | Summary:
|
| void setcurrentweaponspinlerp( float ) | Summary:
|
| string getcurrentweaponaltweapon() | Summary:
|
| int isweaponoverheating( int ) | Summary: Returns 1 if the specified client's slot index is overheating. if (player isweaponoverheating(0)) |
| void setweaponoverheating( int, float ) | Summary: Sets the specified clients slot index overheat to a percentage. player setweaponoverheating(0, 99); |
| string getcurrentoffhand() | Summary: Returns the current lethal/tactical or equipment. offhandWeapon = player getcurrentoffhand(); |
| bool isusingoffhand() | Summary: Returns true if the specified client is using their offhand weapon. if (player isusingoffhand()) |
| void forceoffhandend() | Summary: Forces the specified client to use their offhand weapon. player forceoffhandend() |
| bool hasweapon( string ) | Summary: Returns true if the specified client has the specified weapon. if (player hasweapon("mp7_mp"))
|
| void switchtoweapon() | Summary: Forces the specified weapon to switch to the specified weapon. player switchtoweapon("mp7_mp");
|
| void switchtoweaponimmediate() | Summary:
|
| bool switchtooffhand( string ) | Summary:
|
| void weaponplayejectbrass() | Summary:
|
| int getlockonradius() | Summary:
|
| int getlockonspeed() | Summary:
|
| void givestartammo( string ) | Summary: Sets the specified clients' specified weapon to the starting ammunition amount. player givestartammo("mp7_mp");
|
| void givemaxammo( string ) | Summary: Gives the specified clients' specified weapon maximum ammunition. player givemaxammo("mp7_mp");
|
| float getfractionstartammo( string ) | Summary: Returns a float of the specified weapons starting ammunition. fractionStartAmmo = player getfractionstartammo("mp7_mp");
|
| float getfractionmaxammo( string ) | Summary: Returns a float of the specified weapons maximum ammunition. fractionMaxAmmo = player getfractionmaxammo("mp7_mp");
|
| void setweaponheatpercent( string, float ) | Summary:
|
| void setorigin( vector ) | Summary: Teleports the player to a location defined by x, y and z coordinate values. player setorigin((900, -78, 2055.1)); |
| void setvelocity( vector ) | Summary:
|
| void setplayerangles( vector ) | Summary: Changes the player's view direction via x, y and z coordinate values. player setplayerangles(anotherplayer.angles); |
| vector getplayerangles() | Summary:
|
| vector getgunangles() | Summary:
|
| vector getplayercamerapos() | Summary:
|
| void cameraactivate( int ) | Summary:
|
| void camerasetposition( vector, vector ) | Summary:
|
| void camerasetlookat( entity, vector ) | Summary:
|
| void gamepadusedlast() | Summary:
|
| int usebuttonpressed() | Summary: Returns 1 if the use button is pressed otherwise 0. if (player usebuttonpressed()) |
| int changeseatbuttonpressed() | Summary:
|
| int attackbuttonpressed() | Summary: Returns 1 if the shooting button is pressed otherwise 0. if (player attackbuttonpressed()) |
| int actionslotonebuttonpressed() | Summary:
|
| int actionslottwobuttonpressed() | Summary:
|
| int actionslotthreebuttonpressed() | Summary:
|
| int actionslotfourbuttonpressed() | Summary:
|
| int adsbuttonpressed() | Summary: Returns 1 if the aiming down the sights button is pressed otherwise 0. if (player adsbuttonpressed()) |
| int throwbuttonpressed() | Summary:
|
| int meleebuttonpressed() | Summary: Returns 1 if the melee button is pressed otherwise 0. if (player meleebuttonpressed()) |
| int jumpbuttonpressed() | Summary: Returns 1 if the jumping button is pressed otherwise 0. if (player jumpbuttonpressed()) |
| int stancebuttonpressed() | Summary:
|
| int fragbuttonpressed() | Summary: Returns 1 if the lethal grenade button is pressed otherwise 0. if (player fragbuttonpressed()) |
| int secondaryoffhandbuttonpressed() | Summary:
|
| int inventorybuttonpressed() | Summary:
|
| int sprintbuttonpressed() | Summary:
|
| void sprintuprequired() | Summary:
|
| float playerads() | Summary:
|
| void pingplayer() | Summary:
|
| void setviewmodel( string ) | Summary:
|
| conststring getviewmodel() | Summary:
|
| void setoffhandsecondaryclass( string ) | Summary:
|
| conststring getoffhandsecondaryclass() | Summary:
|
| string setoffhandprimaryclass( string ) | Summary:
|
| void beginlocationselection() | Summary:
|
| void beginlocationairstrikeselection() | Summary:
|
| void beginlocationmortarselection() | Summary:
|
| void beginlocationartilleryselection() | Summary:
|
| void beginlocationcomlinkselection() | Summary:
|
| void beginlocationnapalmselection() | Summary:
|
| void endlocationselection() | Summary:
|
| void clientsyssetstate( int, string ) | Summary:
|
| void weaponlockstart( entity ) | Summary:
|
| void weaponlockfinalize( entity ) | Summary:
|
| void weaponlockfree() | Summary:
|
| void weaponlocktargettooclose( int ) | Summary:
|
| void weaponlocknoclearance( int ) | Summary:
|
| void buttonpressed() | Summary:
|
| void giveweaponnextattachment() | Summary:
|
| void givenextbaseweapon() | Summary:
|
| void getnormalizedmovement() | Summary:
|
| void getnormalizedcameramovement() | Summary:
|
| void sayall() | Summary:
|
| void sayteam() | Summary:
|
| void setspawnweapon( string ) | Summary:
|
| void initialweaponraise( string ) | Summary:
|
| void seteverhadweaponall( int ) | Summary:
|
| void dropitem( string, constlowercasestring ) | Summary:
|
| void dropscavengeritem( string ) | Summary:
|
| int hasagrenadepulledback() | Summary:
|
| bool finishplayerdamage( entity, entity, int, string, vector, vector, conststring, int, int ) | Summary:
|
| void finishmeleehit( entity, string, vector, vector, int, int, int ) | Summary:
|
| void reviveplayer() | Summary:
|
| void undolaststand() | Summary:
|
| void suicide() | Summary: Kills the specified player. player suicide(); |
| void turnedhuman() | Summary:
|
| bool isinvehicle() | Summary:
|
| bool isremotecontrolling() | Summary:
|
| bool isweaponviewonlylinked() | Summary:
|
| int allowstand( int ) | Summary:
|
| int allowcrouch( int ) | Summary:
|
| int allowprone( int ) | Summary:
|
| int allowlean( int ) | Summary:
|
| entity getvehicleoccupied() | Summary:
|
| array getfriendlies( int ) | Summary:
|
| array getenemies( int ) | Summary:
|
| int openmenu( string ) | Summary:
|
| int openmenunomouse( string ) | Summary:
|
| void closemenu() | Summary:
|
| void closeingamemenu() | Summary:
|
| void freezecontrols( int ) | Summary: Freezes/unfreezes the controls of the specified player player freezecontrols(1); |
| void freezecontrolsallowlook( int ) | Summary:
|
| int arecontrolsfrozen() | Summary:
|
| void disableusability() | Summary:
|
| void enableusability() | Summary:
|
| void disableweapons() | Summary:
|
| void enableweapons() | Summary:
|
| void disabledeathstreak() | Summary:
|
| void enabledeathstreak() | Summary:
|
| int deathstreakactive() | Summary:
|
| void disableoffhandweapons() | Summary:
|
| void enableoffhandweapons() | Summary:
|
| void disableweaponcycling() | Summary:
|
| void enableweaponcycling() | Summary:
|
| void revive() | Summary:
|
| void setlaststandprevweap( string ) | Summary:
|
| void setreverb() | Summary:
|
| void deactivatereverb() | Summary:
|
| void setchannelvolumes() | Summary:
|
| void deactivatechannelvolumes() | Summary:
|
| int setweaponammoclip( string, int ) | Summary:
|
| void setweaponammostock( string, int ) | Summary:
|
| int getweaponammoclip( string ) | Summary:
|
| int getweaponammostock( string ) | Summary:
|
| int anyammoforweaponmodes( string ) | Summary:
|
| void iprintln() | Summary: Prints text for the specified player only in the killfeed. player iprintln("Hello, World!");
|
| void iprintlnbold() | Summary: Prints text for the specified player only in the middle of the screen. If the player entity is omitted, the text will be printed for every player in the lobby. player iprintlnBold("Hello, World!");
|
| void spawn( vector, vector ) | Summary:
|
| void setentertime( int ) | Summary:
|
| void cloneplayer( int ) | Summary: Creates a clone of the specified player at current position player cloneplayer(); |
| void setclientfov() | Summary:
|
| void setclientthirdperson( int ) | Summary: Enables/disables 3rd person view for the specified player player setclientthirdperson(1); |
| void setclientthirdpersonangle() | Summary:
|
| void setclientcompass() | Summary:
|
| void setclientscriptmainmenu() | Summary:
|
| void setclientcgobjectivetext() | Summary:
|
| void setclientplayersprinttime() | Summary:
|
| void setclientnumlives() | Summary:
|
| void setclientdrawtalk() | Summary:
|
| void setclientammocounterhide() | Summary:
|
| void setclientminiscoreboardhide() | Summary:
|
| void setclienthudhardcore() | Summary:
|
| void setclientplayerpushamount() | Summary:
|
| void setclientaimlockonpitchstrength() | Summary:
|
| void setclientuivisibilityflag( string, int ) | Summary:
|
| void setclientprofilevar( string, string ) | Summary:
|
| void playclientairstrike( vector, int, string, string, int, string, int ) | Summary:
|
| void playclientnapalm( vector, int, string, string, int, string, int ) | Summary:
|
| void setcurrentspectatorclient( entity ) | Summary:
|
| void relinktoturret( entity ) | Summary:
|
| void carryturret( entity, vector, vector ) | Summary:
|
| void stopcarryturret( entity, vector, vector ) | Summary:
|
| bool iscarryingturret() | Summary:
|
| array canplayerplaceturret( entity ) | Summary:
|
| void setplacementhint( int ) | Summary:
|
| void linkguidedmissilecamera() | Summary:
|
| void unlinkguidedmissilecamera() | Summary:
|
| void gpsjammeractive() | Summary:
|
| void gpsjammerinactive() | Summary:
|
| void spawnprotectionactive() | Summary:
|
| void spawnprotectioninactive() | Summary:
|
| void dualgrenadesactive() | Summary:
|
| void dualgrenadesinactive() | Summary:
|
| void linktomissile( entity, int ) | Summary:
|
| void unlinkfrommissile() | Summary:
|
| array canplaceriotshield( conststring ) | Summary:
|
| void setheldweaponmodel( int ) | Summary:
|
| void setriotshieldfailhint() | Summary:
|
| array canplayerplacevehicle( float, float, float, float, float, float ) | Summary:
|
| void remotecontrolturret( entity ) | Summary:
|
| void remotecontrolturretoff( entity ) | Summary:
|
| void recordkillstreakevent( int ) | Summary:
|
| void recordkillstreakendevent( int ) | Summary:
|
| void recordgameevent( string ) | Summary:
|
| void recordkillmodifier( string ) | Summary:
|
| void recordmedal( string ) | Summary:
|
| void recordloadoutandperks() | Summary:
|
| void recordloadoutperksandkillstreaks( string, string, string, string, int, int, int ) | Summary:
|
| void recordmultikill( int ) | Summary:
|
| void incrementlifestat() | Summary:
|
| void incrementplayerstat( string, int ) | Summary:
|
| void recordplayerdeathzombies() | Summary:
|
| void recordplayerdownzombies( string ) | Summary:
|
| void recordplayerrevivezombies( entity ) | Summary:
|
| void recordzombiezone( string, string ) | Summary:
|
| int islookingat( entity ) | Summary:
|
| void playlocalsound( string ) | Summary:
|
| void stoplocalsound( string ) | Summary:
|
| int istalking() | Summary:
|
| void allowspectateteam( team, int ) | Summary:
|
| int getguid() | Summary:
|
| string getxuid() | Summary:
|
| int ishost() | Summary: Returns 1 if the specified player is host, otherwise 0. if (player isHost()) |
| int islocaltohost() | Summary:
|
| int allowads( int ) | Summary:
|
| int allowjump( int ) | Summary:
|
| int allowsprint( int ) | Summary:
|
| int allowmelee( int ) | Summary:
|
| int forceslick( int ) | Summary:
|
| void setsprintduration( float ) | Summary:
|
| void setsprintcooldown( float ) | Summary:
|
| void setspreadoverride( int ) | Summary:
|
| void resetspreadoverride() | Summary:
|
| void setactionslot( int, string, string ) | Summary:
|
| string getinventoryweapon() | Summary:
|
| void setinventoryweapon( string ) | Summary:
|
| array getweaponslist( int ) | Summary:
|
| array getweaponslistprimaries() | Summary:
|
| void startrevive() | Summary:
|
| void stoprevive() | Summary:
|
| void applyknockback( int, vector ) | Summary:
|
| void setperk( string ) | Summary: Gives the player the specified perk player setperk("specialty_fastladderclimb");
|
| bool hasperk( string ) | Summary: Returns true if the player has the specified perk, false otherwise if (hasperk("specialty_fastladderclimb")) |
| array getperks() | Summary:
|
| void clearperks() | Summary: Removes all perks from the player player clearperks(); |
| void unsetperk( string ) | Summary: Removes a specific perk from the player player unsetperk("specialty_fastladderclimb");
|
| void setrank( int, int ) | Summary:
|
| void enableinvulnerability() | Summary: Enables god mode/invincibility for the specific player player enableinvulnerability(); |
| void disableinvulnerability() | Summary: Disables god mode/invincibility for the specific player player disableinvulnerability(); |
| void enableafterlife() | Summary:
|
| void disableafterlife() | Summary:
|
| bool addgoal( vector, float, int, conststring, conststring ) | Summary:
|
| void cancelgoal( conststring ) | Summary:
|
| bool atgoal( conststring ) | Summary:
|
| bool hasgoal( conststring ) | Summary:
|
| vector getgoal( conststring ) | Summary:
|
| void pressusebutton( float ) | Summary:
|
| void pressattackbutton( int ) | Summary:
|
| void pressdtpbutton() | Summary:
|
| bool throwgrenade( string, vector ) | Summary:
|
| float getlookaheaddist() | Summary:
|
| vector getlookaheaddir() | Summary:
|
| void lookat( vector ) | Summary:
|
| void clearlookat() | Summary:
|
| void allowattack( int ) | Summary:
|
| void pressads( int ) | Summary:
|
| void pressmelee() | Summary:
|
| array getthreats( float ) | Summary:
|
| vector predictposition( entity, int ) | Summary:
|
| bool botsighttracepassed( entity, vector ) | Summary:
|
| void botsetfailsa( pathnode ) | Summary:
|
| void botsetdefaultclass( int, string ) | Summary:
|
| void botclassadditem( int, string ) | Summary:
|
| void botclasssetweaponoption( int, int, string, int ) | Summary:
|
| void botclassaddattachment( int, string, string, string ) | Summary:
|
| void botleavegame() | Summary:
|
| int issplitscreen() | Summary:
|
| int isplayeronsamemachine( entity ) | Summary:
|
| void playerknockback( int ) | Summary:
|
| float getplayerviewheight() | Summary:
|
| void ishostforbots() | Summary:
|
| void murderline( vector, vector, string ) | Summary:
|
| void setoffhandvisible( int ) | Summary:
|
| void fakedamagefrom( vector ) | Summary:
|
| int getsnapshotackindex() | Summary:
|
| string getleagueteamid() | Summary:
|
Script Entity Methods
| Prototype | Description |
|---|---|
| void moveto( vector ) | Summary:
|
| void movex( float ) | Summary:
|
| void movey( float ) | Summary:
|
| void movez( float ) | Summary:
|
| void movegravity( vector, float ) | Summary:
|
| void moveslide( vector, float, vector ) | Summary:
|
| void stopmoveslide() | Summary:
|
| void rotateto( vector ) | Summary:
|
| void rotatepitch( float ) | Summary:
|
| void rotateyaw( float ) | Summary:
|
| void rotateroll( float ) | Summary:
|
| void devaddpitch( float ) | Summary:
|
| void devaddyaw( float ) | Summary:
|
| void devaddroll( float ) | Summary:
|
| void vibrate( vector, float, float, float ) | Summary:
|
| void rotatevelocity( vector ) | Summary:
|
| void solid() | Summary:
|
| void notsolid() | Summary:
|
| void setcandamage( int ) | Summary:
|
| void physicslaunch( vector, vector ) | Summary:
|
| void setcheapflag( int ) | Summary:
|
| void ignorecheapentityflag( int ) | Summary:
|
Script Vehicle Methods
| Prototype | Description |
|---|---|
| void attachpath( entityref ) | Summary:
|
| string vehgetmodel() | Summary:
|
| array getattachpos( entityref ) | Summary:
|
| void startpath() | Summary:
|
| entitynum drivepath( int ) | Summary:
|
| void pathmove( vector, vector, vector ) | Summary:
|
| void pathmoveclear() | Summary:
|
| void pathfixedoffset( vector ) | Summary:
|
| void pathfixedoffsetclear() | Summary:
|
| void pathvariableoffset( vector, float ) | Summary:
|
| void pathvariableoffsetclear() | Summary:
|
| vector getpathfixedoffset() | Summary:
|
| vector getpathvariableoffset() | Summary:
|
| void setdrivepathphysicsscale( float ) | Summary:
|
| void setswitchnode( entityref, entityref ) | Summary:
|
| void setspeed( float, float, float ) | Summary:
|
| void setspeedimmediate( float, float, float ) | Summary:
|
| float getspeed() | Summary:
|
| float getspeedmph() | Summary:
|
| float getgoalspeedmph() | Summary:
|
| void setbrake( float ) | Summary:
|
| float getbrake() | Summary:
|
| float gethandbrake() | Summary:
|
| float getscriptbrake() | Summary:
|
| void setacceleration( float ) | Summary:
|
| void setdeceleration( float ) | Summary:
|
| void resumespeed( float ) | Summary:
|
| void setyawspeed( float, float, float, float ) | Summary:
|
| void setmaxpitchroll( float, float ) | Summary:
|
| void setturningability( float ) | Summary:
|
| void setjitterparams( vector, float, float ) | Summary:
|
| void setairresistance( float ) | Summary:
|
| float getsteering() | Summary:
|
| float getthrottle() | Summary:
|
| void setphysangles( vector ) | Summary:
|
| void sethoverparams( float, float, float ) | Summary:
|
| void joltbody( vector, float, float, float ) | Summary:
|
| void freevehicle() | Summary:
|
| string getwheelsurface( conststring ) | Summary:
|
| entity getvehicleowner() | Summary:
|
| int isvehicleusable() | Summary:
|
| void makevehicleusable() | Summary:
|
| void makevehicleunusable() | Summary:
|
| void usevehicle( entity, int, int ) | Summary:
|
| void setviewclamp( entity, float, float, float, float ) | Summary:
|
| void resetviewclamp( entity, entity ) | Summary:
|
| void setvehiclelookattext( conststring, constistring ) | Summary:
|
| void setneargoalnotifydist( float ) | Summary:
|
| bool setvehgoalpos( vector, int, int, int ) | Summary:
|
| void clearvehgoalpos() | Summary:
|
| void setplanegoalpos( float, vector ) | Summary:
|
| void setplanebarrelroll( int, float ) | Summary:
|
| void setgoalyaw( float ) | Summary:
|
| void cleargoalyaw() | Summary:
|
| void settargetyaw( float ) | Summary:
|
| void cleartargetyaw() | Summary:
|
| void setlookatent( entity ) | Summary:
|
| void clearlookatent() | Summary:
|
| void takeplayercontrol() | Summary:
|
| void returnplayercontrol() | Summary:
|
| void setturrettargetvec( vector ) | Summary:
|
| void setturrettargetent( entity, vector ) | Summary:
|
| void clearturrettarget() | Summary:
|
| void setgunnertargetvec( vector, int ) | Summary:
|
| vector getgunnertargetvec( int ) | Summary:
|
| void setgunnertargetent( entity, vector, int ) | Summary:
|
| void cleargunnertarget( int ) | Summary:
|
| void setgunnerturretontargetrange( int, float ) | Summary:
|
| entity getgunnertargetent( int ) | Summary:
|
| float getgunneranimpitch( int ) | Summary:
|
| float getgunneranimyaw( int ) | Summary:
|
| void setvehweapon( string ) | Summary:
|
| entity fireweapon( entity, vector ) | Summary:
|
| entity firegunnerweapon( int, entity ) | Summary:
|
| void stopfireweapon() | Summary:
|
| int isturretready() | Summary:
|
| void setvehmaxspeed( float ) | Summary:
|
| array getvehoccupants() | Summary:
|
| entity getseatoccupant( int ) | Summary:
|
| int getoccupantseat( entity ) | Summary:
|
| void setseatoccupied( int, int ) | Summary:
|
| string seatgetweapon( int ) | Summary:
|
| vector getseatfiringorigin( int ) | Summary:
|
| vector getseatfiringangles( int ) | Summary:
|
| bool isgunnerfiring( int ) | Summary:
|
| void disablegunnerfiring( int, int ) | Summary:
|
| entity finishvehicledamage( entity, entity, int, string, vector, vector, conststring, int, int, int, conststring, int ) | Summary:
|
| void finishvehicleradiusdamage( entity, entity, float, float, int, string, vector, float, float, vector, int ) | Summary:
|
| bool isvehicleimmunetodamage( int, string, string ) | Summary:
|
| void setdefaultpitch( float ) | Summary:
|
| void cleardefaultpitch() | Summary:
|
| vector getangularvelocity() | Summary:
|
| void setangularvelocity( vector ) | Summary:
|
| void setvehvelocity( vector ) | Summary:
|
| void cancelaimove() | Summary:
|
| void setvehicletype( string ) | Summary:
|
| vector getphysacceleration() | Summary:
|
| void setphysacceleration( vector ) | Summary:
|
| void drawtrajectory() | Summary:
|
| void setrotorspeed( float ) | Summary:
|
| float getmaxspeed( int ) | Summary:
|
| void setmantleena( int ) | Summary:
|
| void setvehicleavoidance( int, float, int ) | Summary:
|
| int getvehicleavoidance() | Summary:
|
| bool vehcansee( entity, int ) | Summary:
|
| bool vehseenrecently( entity, float ) | Summary:
|
| void vehclearenemy() | Summary:
|
| void vehs( entity, float ) | Summary:
|
| void vehclearentitytarget() | Summary:
|
| float getturretheatvalue( int ) | Summary:
|
| bool isvehicleturretoverheating( int ) | Summary:
|
| void setpathtransitiontime( float ) | Summary:
|
| array getvehicleavoidancenodes( float ) | Summary:
|
| void makesentient() | Summary:
|
Hud Element Methods
| Prototype | Description |
|---|---|
| void settext() | Summary:
|
| void clearalltextafterhudelem() | Summary:
|
| void setshader( string, int, int ) | Summary:
|
| void settargetent( entity, entity ) | Summary:
|
| void cleartargetent() | Summary:
|
| void settimer( float ) | Summary:
|
| void settimerup( float ) | Summary:
|
| void settenthstimer( float ) | Summary:
|
| void settenthstimerup( float ) | Summary:
|
| void setclock() | Summary:
|
| void setclockup() | Summary:
|
| void setvalue( float ) | Summary:
|
| void setwaypoint( int, string, int, int ) | Summary:
|
| void fadeovertime( float ) | Summary:
|
| void scaleovertime( float, int, int ) | Summary:
|
| void moveovertime( float ) | Summary:
|
| void reset() | Summary:
|
| void destroy() | Summary:
|
| void setpulsefx( int, int, int ) | Summary:
|
| void setcod7decodefx( int, int, int ) | Summary:
|
| void setredactfx( int, int, int, int ) | Summary:
|
| void settypewriterfx( int, int, int ) | Summary:
|
| int gettextwidth() | Summary:
|
| void setperks( entity, entity ) | Summary:
|
| void setplayernamestring( entity, entity ) | Summary:
|
| void setmapnamestring( string ) | Summary:
|
| void setgametypestring( string ) | Summary:
|
| void setwargamedata() | Summary:
|
| void changefontscaleovertime( float ) | Summary:
|
Helicopter Methods
| Prototype | Description |
|---|---|
| void freehelicopter() | Summary:
|
| void setspeed() | Summary:
|
| float getspeed() | Summary:
|
| float getspeedmph() | Summary:
|
| void resumespeed( float ) | Summary:
|
| void setyawspeed( float, float, float, float ) | Summary:
|
| void setmaxpitchroll( float, float ) | Summary:
|
| void setturningability( float ) | Summary:
|
| void setairresistance( float ) | Summary:
|
| void sethoverparams( float, float, float ) | Summary:
|
| void setneargoalnotifydist( float ) | Summary:
|
| bool setvehgoalpos( vector, int, int, int ) | Summary:
|
| void setgoalyaw( float ) | Summary:
|
| void cleargoalyaw() | Summary:
|
| void settargetyaw( float ) | Summary:
|
| void cleartargetyaw() | Summary:
|
| void setlookatent( entity ) | Summary:
|
| void clearlookatent() | Summary:
|
| void setvehweapon( string ) | Summary:
|
| entity fireweapon( entity, vector ) | Summary:
|
| void stopfireweapon() | Summary:
|
| void setturrettargetvec( vector ) | Summary:
|
| void setturrettargetent( entity, vector ) | Summary:
|
| void clearturrettarget() | Summary:
|
| void setdamagestage( int ) | Summary:
|
| void setheliheightlock( int ) | Summary:
|
| float getheliheightlockheight( vector ) | Summary:
|
| int isinsideheliheightlock() | Summary:
|
| void setheightlockoffset() | Summary:
|
Actor Methods
| Prototype | Description |
|---|---|
| void startcoverarrival() | Summary:
|
| void starttraversearrival() | Summary:
|
| entity melee( vector ) | Summary:
|
| bool reacquirestep( float ) | Summary:
|
| void findreacquirenode() | Summary:
|
| pathnode getreacquirenode() | Summary:
|
| bool usereacquirenode( pathnode ) | Summary:
|
| void findreacquiredirectpath( int ) | Summary:
|
| bool trimpathtoattack() | Summary:
|
| bool reacquiremove() | Summary:
|
| void findreacquireproximatepath( int ) | Summary:
|
| void flagenemyunattackable() | Summary:
|
| void clearpitchorient() | Summary:
|
| void setpitchorient() | Summary:
|
| void setlookatanimnodes( anim, anim, anim ) | Summary:
|
| void setlookat( vector, float ) | Summary:
|
| void setlookatyawlimits( float, float, float ) | Summary:
|
| void stoplookat( float ) | Summary:
|
| bool cansee( entity, int ) | Summary:
|
| bool seerecently( entity, float ) | Summary:
|
| int lastknowntime( entity ) | Summary:
|
| vector lastknownpos( entity ) | Summary:
|
| int maymovetopoint( vector, int ) | Summary:
|
| int maymovefrompointtopoint( vector, vector, int ) | Summary:
|
| int teleport( vector, vector ) | Summary:
|
| float withinapproxpathdist( float ) | Summary:
|
| int ispathdirect() | Summary:
|
| void allowedstances( conststring, conststring, conststring ) | Summary:
|
| int isstanceallowed( conststring ) | Summary:
|
| void traversemode( conststring ) | Summary:
|
| void animmode( conststring, int ) | Summary:
|
| void orientmode( conststring, vector, int ) | Summary:
|
| conststring getorientmode( string ) | Summary:
|
| float getmotionangle() | Summary:
|
| bool shouldfacemotion() | Summary:
|
| void clearmovehistory() | Summary:
|
| vector getmovehistoryaverage() | Summary:
|
| vector getanglestolikelyenemypath() | Summary:
|
| void lerpposition( vector, vector ) | Summary:
|
| void predictoriginandangles() | Summary:
|
| void predictanim() | Summary:
|
| void gethitenttype() | Summary:
|
| float gethityaw() | Summary:
|
| void getgroundenttype() | Summary:
|
| int isdeflected() | Summary:
|
| void animcustom( func, func ) | Summary:
|
| int canattackenemynode() | Summary:
|
| int getpathlength() | Summary:
|
| int calcpathlength( vector ) | Summary:
|
| pathnode getnegotiationstartnode() | Summary:
|
| pathnode getnegotiationendnode() | Summary:
|
| int canseepathgoal() | Summary:
|
| bool checkprone( vector, float, int ) | Summary:
|
| void pushplayer( int ) | Summary:
|
| void setgoalnode( pathnode ) | Summary:
|
| void setgoalpos( vector, vector ) | Summary:
|
| void setgoalentity( entity ) | Summary:
|
| void setgoalvolume( entity ) | Summary:
|
| void setgoalvolumeauto( entity ) | Summary:
|
| entity getgoalvolume() | Summary:
|
| void cleargoalvolume() | Summary:
|
| void setfixednodesafevolume( entity ) | Summary:
|
| entity getfixednodesafevolume() | Summary:
|
| void clearfixednodesafevolume() | Summary:
|
| bool isingoal( vector ) | Summary:
|
| void setruntopos( vector ) | Summary:
|
| void clearruntopos() | Summary:
|
| bool nearnode( pathnode ) | Summary:
|
| bool nearclaimnode() | Summary:
|
| bool nearclaimnodeandangle() | Summary:
|
| bool atdangerousnode() | Summary:
|
| void getenemyinfo( entity ) | Summary:
|
| void clearenemy() | Summary:
|
| void setentitytarget( entity, float ) | Summary:
|
| void clearentitytarget() | Summary:
|
| void setpotentialthreat( float ) | Summary:
|
| void clearpotentialthreat() | Summary:
|
| void getperfectinfo( entity ) | Summary:
|
| void setflashbangimmunity( int ) | Summary:
|
| void setflashbanged( int ) | Summary:
|
| float getflashbangedstrength() | Summary:
|
| int isknownenemyinradius( vector, float ) | Summary:
|
| int isknownenemyinvolume( entity ) | Summary:
|
| void settalktospecies( conststring ) | Summary:
|
| void allowpitchangle( int ) | Summary:
|
| void knockback( int ) | Summary:
|
| float getdeltaturnyaw() | Summary:
|
| entity finishactordamage( entity, entity, int, string, vector, vector, conststring, int, int ) | Summary:
|
| array calclookaheadpos( vector, int ) | Summary:
|
| void setengagementmindist() | Summary:
|
| void setengagementmaxdist() | Summary:
|
| bool isinscriptedstate() | Summary:
|
| entity meleewithoffset( vector ) | Summary:
|
| int forceteleport( vector, vector ) | Summary:
|
| void setentityowner( entity ) | Summary:
|
| void clearentityowner() | Summary:
|
| void setanimstate( conststring, int ) | Summary:
|
| void setaimanimweights( float, float ) | Summary:
|
| void startscriptedanim() | Summary:
|
| void popaistate() | Summary:
|
| int setanimstatefromasd( conststring, conststring, int ) | Summary:
|
| bool hasanimstatefromasd( conststring ) | Summary:
|
| conststring getanimstatefromasd() | Summary:
|
| int getanimsubstatefromasd( conststring, conststring ) | Summary:
|
| int getanimsubstatecountfromasd( conststring ) | Summary:
|
| anim getanimfromasd( conststring, animsindex, animsindex, int ) | Summary:
|
| float getanimlengthfromasd( conststring, int ) | Summary:
|
| bool getanimhasnotetrackfromasd( conststring, int, conststring ) | Summary:
|
| void setfreecameralockonallowed( int ) | Summary:
|
Builtin Common Methods
| Prototype | Description |
|---|---|
| void forceyellowdot( int ) | Summary:
|
| void disableyellowdot( int ) | Summary:
|
| void allowcamerarotation( int ) | Summary:
|
| bool reloadonnunchuk() | Summary:
|
| bool reloadonwiiumote() | Summary:
|
| void attach( string, constlowercasestring, int ) | Summary:
|
| void detach( string, constlowercasestring ) | Summary:
|
| void detachall() | Summary:
|
| int getattachsize() | Summary:
|
| conststring getattachmodelname( int ) | Summary:
|
| conststring getattachtagname( int ) | Summary:
|
| bool getattachignorecollision( int ) | Summary:
|
| void hidepart( constlowercasestring, string ) | Summary:
|
| void runscriptonent() | Summary:
|
| void sendaiscriptvals( string, string ) | Summary:
|
| void showpart( constlowercasestring, string ) | Summary:
|
| void showallparts() | Summary:
|
| void playsoundtoplayer( string ) | Summary:
|
| vector getlightcolor() | Summary:
|
| void setlightcolor( vector ) | Summary:
|
| float getlightintensity() | Summary:
|
| void setlightintensity( float ) | Summary:
|
| float getlightradius() | Summary:
|
| void setlightradius( float ) | Summary:
|
| float getlightfovinner() | Summary:
|
| float getlightfovouter() | Summary:
|
| void setlightfovrange( float, float ) | Summary:
|
| int getlightexponent() | Summary:
|
| void setlightexponent( int ) | Summary:
|
| bool areallmissionsatscore( int ) | Summary:
|
| void isstartingclassdefault() | Summary:
|
| void isstartingclasseraappropriate() | Summary:
|
| int getnumchallengescomplete( string ) | Summary:
|
| bool hascompletedallgamechallenges() | Summary:
|
| void hasallintel() | Summary:
|
| string getdstat() | Summary:
|
| int getdstatarraycount() | Summary:
|
| void setdstat( string, string, int, int, float, float ) | Summary:
|
| void adddstat() | Summary:
|
| void addweaponstat( string, int, int ) | Summary:
|
| void addbonuscardstat( int, string, int ) | Summary:
|
| void getsessstat() | Summary:
|
| void getsessstatarraycount() | Summary:
|
| void setsessstat() | Summary:
|
| void addsessstat() | Summary:
|
| void addplayerstat( string ) | Summary:
|
| void addplayerstatwithgametype() | Summary:
|
| void addgametypestat() | Summary:
|
| void trackweaponfirenative( string, int, int, int ) | Summary:
|
| void updatestatratio( string, string, string ) | Summary:
|
| int addrankxp( string, int ) | Summary:
|
| void addrankxpvalue( string ) | Summary:
|
| bool hasseasonpass() | Summary:
|
| void setempjammed( int ) | Summary:
|
| bool isempjammed() | Summary:
|
| void setspawnerteam( team ) | Summary:
|
| void luinotifyevent() | Summary:
|
| void launch( vector, vector ) | Summary:
|
| void setmovingplatformenabled( int ) | Summary:
|
| bool ismovingplatform() | Summary:
|
| void setviewmodelrenderflag( int ) | Summary:
|
| void setdrawinfrared( int ) | Summary:
|
| void setgpr() | Summary:
|
| void gamehistorystartmatch( int ) | Summary:
|
| void gamehistoryfinishmatch( int, int, int, int, int, float ) | Summary:
|
| void unlink() | Summary:
|
| void linkto() | Summary:
|
| void linktoblendtotag() | Summary:
|
| void enablelinkto() | Summary:
|
| void linktoupdateoffset( vector, vector ) | Summary:
|
| void playerlinkto() | Summary:
|
| void playerlinktoblend( entity, constlowercasestring, float, float, float, float, float, float ) | Summary:
|
| void playerlinktodelta() | Summary:
|
| void playerlinkweaponviewtodelta() | Summary:
|
| void playerlinktoabsolute( entity, constlowercasestring ) | Summary:
|
| void playercamlinkto( entity, string ) | Summary:
|
| void playercamunlink() | Summary:
|
| void lerpviewangleclamp( float, float, float, float, float, float, float ) | Summary:
|
| void setviewangleresistance() | Summary:
|
| void playerlinkedoffsetenable() | Summary:
|
| void playerlinkedoffsetdisable() | Summary:
|
| void playerlinkedsetusebaseangleforviewclamp( int ) | Summary:
|
| void dontinterpolate() | Summary:
|
| entity magicgrenadetype( string, vector, vector, float ) | Summary:
|
| void startfadingblur( float, float ) | Summary:
|
| vector localtoworldcoords( vector ) | Summary:
|
| vector worldtolocalcoords( vector ) | Summary:
|
| void setturretspinning( int ) | Summary:
|
| void attachshieldmodel() | Summary:
|
| void detachshieldmodel() | Summary:
|
| void setscriptmoverflag( int ) | Summary:
|
| void refreshshieldattachment() | Summary:
|
| void setcharacterindex( int ) | Summary:
|
| void useplayerfootsteptable() | Summary:
|
| void setvisionsetforplayer( string, float ) | Summary:
|
| void useservervisionset( int ) | Summary:
|
| void setinfraredvision( int ) | Summary:
|
| string getcontrollertype() | Summary:
|
| void setactorweapon( string, int ) | Summary:
|
| void resetfov() | Summary:
|
Builtin Methods
| Prototype | Description |
|---|---|
| void setstowedweapon( string ) | Summary:
|
| string getstowedweapon() | Summary:
|
| void clearstowedweapon() | Summary:
|
| int getammocount( string ) | Summary:
|
| void setvisibletoplayer( entity ) | Summary:
|
| void setinvisibletoplayer( entity, int ) | Summary:
|
| void setvisibletoall() | Summary:
|
| void setinvisibletoall() | Summary:
|
| void setvisibletoteam( team ) | Summary:
|
| void setvisibletoallexceptteam( team ) | Summary:
|
| void setforcenocull() | Summary:
|
| void removeforcenocull() | Summary:
|
| int islinkedto( entity ) | Summary:
|
| void allowtacticalinsertion( int ) | Summary:
|
| void allowbottargetting( int ) | Summary:
|
| entity getlinkedent() | Summary:
|
| vector getorigin() | Summary:
|
| vector getangles() | Summary:
|
| vector getmins() | Summary:
|
| vector getmaxs() | Summary:
|
| vector getabsmins() | Summary:
|
| vector getabsmaxs() | Summary:
|
| vector getpointinbounds( float, float, float ) | Summary:
|
| vector geteye() | Summary:
|
| vector geteyeapprox() | Summary:
|
| entity useby( entity ) | Summary:
|
| void setstablemissile( int ) | Summary:
|
| int istouching( entity, vector ) | Summary:
|
| int istouchingswept( entity, float, float ) | Summary:
|
| int istouchingvolume( vector, vector, vector ) | Summary:
|
| void playsound( string ) | Summary: Play's the specified sound which can be heard by other nearby players as well player playsound("zmb_cha_ching");
|
| void playsoundwithnotify( string, conststring ) | Summary:
|
| void playsoundontag( string, string ) | Summary:
|
| void playsoundasmaster( string ) | Summary:
|
| void playsoundtoteam( string, entity ) | Summary:
|
| void playbattlechattertoteam( string, string, team, entity ) | Summary:
|
| void playsoundtoplayer( string ) | Summary:
|
| void playloopsound( string, float ) | Summary:
|
| void stoploopsound( float ) | Summary:
|
| void stopsounds() | Summary:
|
| void playrumbleonentity() | Summary:
|
| void playrumblelooponentity() | Summary:
|
| void stoprumble( string ) | Summary:
|
| void delete() | Summary:
|
| void setmodel( string ) | Summary: Changes an entity's appearance player setmodel("german_shepherd_vest");
|
| void setzombieshrink( int ) | Summary:
|
| void setenemymodel( string ) | Summary:
|
| void dodamage( float, vector, entity, entity ) | Summary:
|
| float getnormalhealth() | Summary:
|
| void setnormalhealth( float ) | Summary:
|
| void setmaxhealth( int ) | Summary:
|
| void show() | Summary: Turns the player visible (default) player show(); |
| void hide() | Summary: Turns the player invisible player hide(); |
| void ghost() | Summary:
|
| void ghostindemo() | Summary:
|
| void showindemo() | Summary:
|
| void laseron() | Summary:
|
| void laseroff() | Summary:
|
| void showtoplayer( entity ) | Summary:
|
| int setcontents( int ) | Summary:
|
| void startfiring() | Summary:
|
| void stopfiring() | Summary:
|
| void shootturret() | Summary:
|
| void stopshootturret() | Summary:
|
| void setmode( conststring ) | Summary:
|
| entity getturretowner() | Summary:
|
| void settargetentity( entity ) | Summary:
|
| array getturretarclimits() | Summary:
|
| void setplayerspread( float ) | Summary:
|
| void setaispread( float ) | Summary:
|
| void setconvergencetime( float ) | Summary:
|
| void setsuppressiontime( float ) | Summary:
|
| void cleartargetentity() | Summary:
|
| void setturretteam( team ) | Summary:
|
| void maketurretusable() | Summary:
|
| void maketurretunusable() | Summary:
|
| void setturretaccuracy() | Summary:
|
| void setturretignoregoals( int ) | Summary:
|
| entity getturrettarget() | Summary:
|
| void disconnectpaths() | Summary:
|
| void connectpaths() | Summary:
|
| conststring getstance() | Summary: Returns the current stance by the player. The returned value is either prone, stand or crouch currentstance = player getstance(); |
| void setstance( conststring ) | Summary: Changes the stance for a specific player. Possible values are prone, stand and crouch player setstance("prone");
|
| void setcursorhint( string, entity ) | Summary:
|
| void setrevivehintstring( string, team ) | Summary:
|
| void sethintstringforperk( string, string ) | Summary:
|
| void sethintstring( string ) | Summary:
|
| void setfovforkillcam( int ) | Summary:
|
| void sethintlowpriority( int ) | Summary:
|
| void usetriggerrequirelookat() | Summary:
|
| void triggerignoreteam() | Summary:
|
| void shellshock( string, float, int ) | Summary:
|
| vector getweaponforwarddir() | Summary:
|
| vector getweaponmuzzlepoint() | Summary:
|
| vector gettagorigin( constlowercasestring ) | Summary:
|
| vector gettagangles( constlowercasestring ) | Summary:
|
| void getentnum() | Summary:
|
| void stopshellshock() | Summary:
|
| void setdepthoffield( float, float, float, float, float, float ) | Summary:
|
| void setburn( float ) | Summary:
|
| void setelectrified( float ) | Summary:
|
| void spawnnapalmgroundflame( vector, string, vector, int ) | Summary:
|
| void needsrevive( int ) | Summary:
|
| bool isinsecondchance() | Summary:
|
| float depthinwater() | Summary:
|
| void shootup( float ) | Summary:
|
| int depthofplayerinwater() | Summary:
|
| void useweaponhidetags( string ) | Summary:
|
| void useweaponmodel( string, string, int ) | Summary:
|
| void starttanning() | Summary:
|
| void stopburning() | Summary:
|
| void setwaterdrops( int ) | Summary:
|
| void restoredefaultdroppitch() | Summary:
|
| bool isfiringturret() | Summary:
|
| bool isturretlockedon() | Summary:
|
| void setviewmodeldepthoffield( float, float ) | Summary:
|
| void viewkick( float, vector ) | Summary:
|
| vector localtoworldcoords( vector ) | Summary:
|
| void setrightarc( float ) | Summary:
|
| void setleftarc( float ) | Summary:
|
| void settoparc( float ) | Summary:
|
| void setbottomarc( float ) | Summary:
|
| void radiusdamage() | Summary:
|
| void detonate( entity ) | Summary:
|
| void damageconetrace() | Summary:
|
| void sightconetrace() | Summary:
|
| int heliturretsighttrace( vector, entity, int ) | Summary:
|
| int heliturretdogtrace( vector, entity, int ) | Summary:
|
| int playersighttrace( vector, int, int ) | Summary:
|
| void visionsetlerpratio( float ) | Summary:
|
| float docowardswayanims() | Summary:
|
| void startpoisoning() | Summary:
|
| void stoppoisoning() | Summary:
|
| void startbinocs() | Summary:
|
| void stopbinocs() | Summary:
|
| bool isflared() | Summary:
|
| bool ispoisoned() | Summary:
|
| void setcameraspikeactive( int ) | Summary:
|
| int isinsideheightlock() | Summary:
|
| int ismissileinsideheightlock() | Summary:
|
| int isonground( int ) | Summary:
|
| entity getgroundent() | Summary:
|
| entity getmoverent() | Summary:
|
| int issprinting() | Summary:
|
| void setanim() | Summary:
|
| void useanimtree( animtree ) | Summary:
|
| void animscripted() | Summary:
|
| void animscriptedskiprestart() | Summary:
|
| void animrelative() | Summary:
|
| void stopanimscripted() | Summary:
|
| void clearanim( anim, float ) | Summary:
|
| void setentityanimrate( float ) | Summary:
|
| float getentityanimrate() | Summary:
|
| vector getcentroid() | Summary:
|
| bool ismartyrdomgrenade() | Summary:
|
| int getentitynumber() | Summary:
|
| int getentitytype() | Summary:
|
| void enablegrenadetouchdamage() | Summary:
|
| void disablegrenadetouchdamage() | Summary:
|
| void enableaimassist() | Summary:
|
| void disableaimassist() | Summary:
|
| void placespawnpoint() | Summary:
|
| void setspawnclientflag( string ) | Summary:
|
| void directionalhitindicator( int, int ) | Summary:
|
| void sendkillstreakdamageevent( int ) | Summary:
|
| void setplayergravity( int ) | Summary:
|
| void clearplayergravity() | Summary:
|
| void sendfaceevent( conststring ) | Summary:
|
| void setteamfortrigger( team ) | Summary:
|
| void setexcludeteamfortrigger( team ) | Summary:
|
| void setperkfortrigger( string ) | Summary:
|
| void setignoreentfortrigger( entity ) | Summary:
|
| void clientclaimtrigger( entity ) | Summary:
|
| void clientreleasetrigger( entity ) | Summary:
|
| void releaseclaimedtrigger() | Summary:
|
| int isitemlocked( int ) | Summary:
|
| int isitempurchased( int ) | Summary:
|
| void uploadleaderboards() | Summary:
|
| void setnemesisxuid( string ) | Summary:
|
| int getloadoutitem() | Summary:
|
| int isbonuscardactive( int, int ) | Summary:
|
| string getloadoutitemref() | Summary:
|
| string getloadoutweapon( int, string ) | Summary:
|
| array getloadoutperks( int ) | Summary:
|
| int getloadoutallocation( int ) | Summary:
|
| void setmovespeedscale( float ) | Summary: Sets the multiplier for the player's movement speed player setmovespeedscale(2); |
| float getmovespeedscale() | Summary:
|
| void logstring() | Summary:
|
| void missile_settarget( entity, vector ) | Summary:
|
| void missile_dronesetvisible( int ) | Summary:
|
| bool isonladder() | Summary:
|
| bool ismantling() | Summary:
|
| bool isonslide() | Summary:
|
| void startdoorbreach() | Summary:
|
| void stopdoorbreach() | Summary:
|
| void startragdoll( int ) | Summary:
|
| int isragdoll() | Summary:
|
| void launchragdoll( vector, constlowercasestring ) | Summary:
|
| void launchvehicle( vector, vector ) | Summary:
|
| void setblur( float, float ) | Summary:
|
| void resetmissiledetonationtime( float ) | Summary:
|
| void giveachievement() | Summary:
|
| void setzombiename( string ) | Summary:
|
| void setentgravitytrajectory( int ) | Summary:
|
| void setvehicleteam( team ) | Summary:
|
| void setteam( team ) | Summary:
|
| team getteam() | Summary:
|
| void setowner( entity ) | Summary:
|
| void setmissileowner( entity ) | Summary:
|
| void setentityweapon( string ) | Summary:
|
| void setturretowner( entity ) | Summary:
|
| void setturrettype( string ) | Summary:
|
| anim getcorpseanim( animsindex ) | Summary:
|
| void itemweaponsetammo( int, int, int ) | Summary:
|
| void setturretcarried( int ) | Summary:
|
| void setturretminimapvisible( int ) | Summary:
|
| void setmissilecoasting( int ) | Summary:
|
| void setweapon( string ) | Summary:
|
| void gib( conststring, object ) | Summary:
|
| void setphysparams( float, float, float ) | Summary:
|
| void setplayercollision( int ) | Summary:
|
| void reportuser( string ) | Summary:
|
| void setplayercurrentobjective() | Summary:
|
| void setplayercurrentstreak( int ) | Summary:
|
| vector getvelocity() | Summary:
|
| entity spawnactor( int, conststring ) | Summary:
|
| vector getshootatpos() | Summary:
|
| void predictspawnpoint( vector, vector ) | Summary:
|
| void setdefaultdroppitch( float ) | Summary:
|
| void setscanningpitch( float ) | Summary:
|
| entity launchbomb( string, vector, vector ) | Summary:
|
| entity magicgrenade( string, vector, vector ) | Summary:
|
| void makegrenadedud() | Summary:
|
| void setclientflag( int ) | Summary:
|
| int getclientflag( int ) | Summary:
|
| void clearclientflag( int ) | Summary:
|
| void setscriptmoverflag( int ) | Summary:
|
| void setmovingplatformenabled() | Summary:
|
| void fakefire( entity, vector, string, int ) | Summary:
|
| void makeusable( team ) | Summary:
|
| void makeunusable() | Summary:
|
| vector predictgrenade() | Summary:
|
| void setdangerous( team, int ) | Summary:
|
| bool isdangerous( team ) | Summary:
|
| void getindexforactivecontract() | Summary:
|
| void getactivecontractprogress() | Summary:
|
| void incrementactivecontractprogress() | Summary:
|
| void incrementactivecontracttime() | Summary:
|
| void isactivecontractcomplete() | Summary:
|
| void hasactivecontractexpired() | Summary:
|
| void getactivecontracttimepassed() | Summary:
|
| void resetactivecontractprogress() | Summary:
|
| void getpregameclass() | Summary:
|
| void getpregameteam() | Summary:
|
| void setpregameclass() | Summary:
|
| void setpregameteam() | Summary:
|
| void recordleaguepreloser() | Summary:
|
| void luinotifyeventtospectators() | Summary:
|
| bool istestclient() | Summary:
|
| void setworldfogactivebank( int ) | Summary:
|
| bool iszbarrier() | Summary:
|
| int getnumzbarrierpieces() | Summary:
|
| conststring getzbarrierpiecestate( int ) | Summary:
|
| void setzbarrierpiecestate( int, constlowercasestring, float ) | Summary:
|
| bool iszbarrieropen() | Summary:
|
| bool iszbarrierclosed() | Summary:
|
| void hidezbarrierpiece( int ) | Summary:
|
| void showzbarrierpiece( int ) | Summary:
|
| void zbarrierpieceusedefaultmodel( int ) | Summary:
|
| void zbarrierpieceusealternatemodel( int ) | Summary:
|
| void zbarrierpieceuseupgradedmodel( int ) | Summary:
|
| void zbarrierpieceuseboxriselogic( int ) | Summary:
|
| int getupgradedpiecenumlives( int ) | Summary:
|
| array getzbarrierpieceindicesinstate( constlowercasestring ) | Summary:
|
| float getzbarrierpieceanimlengthforstate( int, constlowercasestring, float ) | Summary:
|
| conststring getzbarrierpieceanimstate( int ) | Summary:
|
| conststring getzbarrierpieceanimsubstate( int ) | Summary:
|
| int zbarriersupportszombietaunts() | Summary:
|
| int zbarriersupportszombiereachthroughattacks() | Summary:
|
| conststring getzbarriertauntanimstate() | Summary:
|
| conststring getzbarrierreachthroughattackanimstate() | Summary:
|
| int getzbarriernumattackslots() | Summary:
|
| float getzbarrierattackslothorzoffset() | Summary:
|
| void setzbarriercolmodel( string ) | Summary:
|
| string getweaponoptic( string ) | Summary:
|
| void setaltusetrigger() | Summary:
|
| bool isaltusetrigger() | Summary:
|