Game Script Functions (BO2): Difference between revisions
Aerosoul94 (talk | contribs) mNo edit summary |
No edit summary |
||
| Line 1,450: | Line 1,450: | ||
|- | |- | ||
| tablelookuprownum | | tablelookuprownum | ||
| | | String tablelookuprownum(tableName, rowIndex, columnIndex) | ||
| | | Returns the cell value at the specified row and specified column from the specified CSV representing a custom row numbering for the data | ||
|- | |- | ||
| tablelookupcolumnforrow | | tablelookupcolumnforrow | ||
Latest revision as of 16:05, 11 November 2015
Builtin Functions
| Name | Prototype | Description |
|---|---|---|
| getatrloaded | array getatrloaded() | |
| findanimbyname | anim findanimbyname( string, string ) | |
| spawn | entity spawn( conststring, vector, int ) | |
| spawncollision | entity spawncollision( string, conststring, vector, vector ) | |
| spawntimedfx | entity spawntimedfx( string, vector, vector, int ) | |
| spawnvehicle | entity spawnvehicle( string, conststring, conststring, vector, vector, conststring ) | |
| spawnplane | entity spawnplane( entity, conststring, vector, int ) | |
| spawnturret | entity spawnturret( conststring, vector, string ) | |
| precacheturret | void precacheturret( string ) | |
| spawnstruct | struct spawnstruct() | |
| spawnhelicopter | entity spawnhelicopter( entity, vector, vector, string, string ) | |
| getentbynum | entity getentbynum( int ) | |
| getweaponmodel | string getweaponmodel( string, int ) | |
| getweaponstowedmodel | int getweaponstowedmodel( string ) | |
| getanimlength | float getanimlength( anims, anim ) | |
| animhasnotetrack | bool animhasnotetrack( anim, anims, conststring ) | |
| getnotetracktimes | array getnotetracktimes( anim, anims, conststring ) | |
| getbrushmodelcenter | vector getbrushmodelcenter( entity ) | |
| getdemofileid | string getdemofileid() | |
| getplayers | array getplayers( team ) | |
| countplayers | int countplayers( team ) | |
| getdamageableentarray | array getdamageableentarray( vector, float ) | |
| objective_add | void objective_add( int, conststring, vector, istring, entity ) | |
| objective_delete | void objective_delete( int ) | |
| objective_state | void objective_state( int, string ) | |
| objective_icon | void objective_icon( int ) | |
| objective_position | void objective_position( int, vector ) | |
| objective_onentity | void objective_onentity( int, entity ) | |
| objective_clearentity | void objective_clearentity( int ) | |
| objective_setvisibletoplayer | void objective_setvisibletoplayer( int, entity ) | |
| objective_setinvisibletoplayer | void objective_setinvisibletoplayer( int, entity ) | |
| objective_setvisibletoall | void objective_setvisibletoall( int ) | |
| objective_setinvisibletoall | void objective_setinvisibletoall( int ) | |
| objective_setsize | void objective_setsize( int, float, float ) | |
| objective_setprogress | void objective_setprogress( int, float ) | |
| objective_setgamemodeflags | void objective_setgamemodeflags( int, int ) | |
| objective_getgamemodeflags | int objective_getgamemodeflags( int ) | |
| objective_setplayerusing | void objective_setplayerusing( int, entity ) | |
| objective_clearplayerusing | void objective_clearplayerusing( int, entity ) | |
| objective_clearallusing | void objective_clearallusing( int ) | |
| missile_createattractorent | int missile_createattractorent( float, entity, float ) | |
| missile_createattractororigin | int missile_createattractororigin( float, vector, float ) | |
| missile_createrepulsorent | int missile_createrepulsorent( entity, float, float ) | |
| missile_createrepulsororigin | int missile_createrepulsororigin( vector, float, float ) | |
| missile_deleteattractor | void missile_deleteattractor( int ) | |
| bullettrace | array bullettrace( vector, vector, int, entity, int, int ) | |
| groundtrace | array groundtrace( vector, vector, int, entity, int, int ) | |
| bullettracepassed | bool bullettracepassed( vector, vector, int, entity, entity, int ) | |
| sighttracepassed | bool sighttracepassed( vector, vector, int, entity ) | |
| physicstrace | array physicstrace( vector, vector, vector, vector ) | |
| playerphysicstrace | vector playerphysicstrace( vector, vector ) | |
| playerbullettrace | array playerbullettrace( vector, vector, entity ) | |
| worldtrace | array worldtrace( vector, vector ) | |
| getmovedelta | vector getmovedelta( anim, anims, float ) | |
| getangledelta | float getangledelta( anim, anims, float ) | |
| getnorthyaw | float getnorthyaw() | |
| precachemodel | void precachemodel( string ) | |
| precacheshellshock | void precacheshellshock( string ) | |
| precacheitem | void precacheitem( string ) | |
| precacheshader | void precacheshader( string ) | |
| precachestring | void precachestring( istring ) | |
| precacherumble | void precacherumble( string ) | |
| precachemenu | void precachemenu( string ) | |
| precachestatusicon | void precachestatusicon( string ) | |
| precacheheadicon | void precacheheadicon( string ) | |
| precachelocationselector | void precachelocationselector( string ) | |
| loadfx | int loadfx( string ) | |
| playfx | void playfx( int, vector, vector, vector ) | |
| playfxontag | void playfxontag( int, entity, constlowercasestring ) | |
| getwaterheight | float getwaterheight( vector ) | |
| playloopedfx | entity playloopedfx( int, float, vector, float ) | |
| spawnfx | entity spawnfx( int, vector, vector ) | |
| triggerfx | void triggerfx( entity, float ) | |
| fxblocksight | void fxblocksight( entity, float ) | |
| physicsexplosionsphere | void physicsexplosionsphere( vector, int, float, float, float ) | |
| physicsexplosioncylinder | void physicsexplosioncylinder( vector, int, float, float ) | |
| physicsjolt | void physicsjolt( vector, int, float, vector ) | |
| physicsjetthrust | void physicsjetthrust( vector, vector, int, float ) | |
| createstreamerhint | entity createstreamerhint( vector, float ) | |
| aretexturesloaded | bool aretexturesloaded() | |
| setexpfog | void setexpfog( float, float, float, float, float, float ) | |
| setvolfog | void setvolfog( float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float ) | |
| setculldist | void setculldist( float ) | |
| grenadeexplosioneffect | void grenadeexplosioneffect( vector ) | |
| magicbullet | entity magicbullet( string, vector, vector, entity, entity, vector ) | |
| radiusdamage | void radiusdamage() | |
| setplayerignoreradiusdamage | void setplayerignoreradiusdamage( int ) | |
| glassradiusdamage | void glassradiusdamage( vector, float, float, float ) | |
| getnumparts | int getnumparts( string ) | |
| getpartname | conststring getpartname( string, int ) | |
| earthquake | void earthquake( float, float, vector, float, entity ) | |
| newhudelem | hudelem newhudelem() | |
| newclienthudelem | hudelem newclienthudelem( entity ) | |
| newdamageindicatorhudelem | hudelem newdamageindicatorhudelem( entity ) | |
| newteamhudelem | hudelem newteamhudelem( team ) | |
| newscorehudelem | hudelem newscorehudelem( entity ) | |
| newdebughudelem | void newdebughudelem() | |
| resettimeout | void resettimeout() | |
| weaponfiretime | float weaponfiretime( string ) | |
| weaponreloadtime | float weaponreloadtime( string ) | |
| isweaponcliponly | bool isweaponcliponly( string ) | |
| isweapondetonationtimed | bool isweapondetonationtimed( string ) | |
| weaponclipsize | int weaponclipsize( string ) | |
| weaponissemiauto | int weaponissemiauto( string ) | |
| weaponisboltaction | int weaponisboltaction( string ) | |
| weaponisgasweapon | int weaponisgasweapon( string ) | |
| weapontype | string weapontype( string ) | |
| weaponclass | string weaponclass( string ) | |
| weaponmountable | int weaponmountable( string ) | |
| weaponinventorytype | string weaponinventorytype( string ) | |
| weaponstartammo | int weaponstartammo( string ) | |
| weaponmaxammo | int weaponmaxammo( string ) | |
| weaponaltweaponname | string weaponaltweaponname( string ) | |
| weapondualwieldweaponname | string weapondualwieldweaponname( string ) | |
| weaponisdualwield | int weaponisdualwield( string ) | |
| getwatcherweapons | array getwatcherweapons() | |
| getretrievableweapons | array getretrievableweapons() | |
| getweaponmindamagerange | float getweaponmindamagerange( string ) | |
| getweaponmaxdamagerange | float getweaponmaxdamagerange( string ) | |
| getweaponmindamage | float getweaponmindamage( string ) | |
| getweaponmaxdamage | float getweaponmaxdamage( string ) | |
| getweaponfusetime | float getweaponfusetime( string ) | |
| getweaponexplosionradius | int getweaponexplosionradius( string ) | |
| getweaponprojexplosionsound | string getweaponprojexplosionsound( string ) | |
| isweaponspecificuse | int isweaponspecificuse( string ) | |
| isweapondisallowedatmatchstart | int isweapondisallowedatmatchstart( string ) | |
| isweaponscopeoverlay | int isweaponscopeoverlay( string ) | |
| isweaponequipment | int isweaponequipment( string ) | |
| isweaponprimary | int isweaponprimary( string ) | |
| isturretfiring | bool isturretfiring( entity ) | |
| getweaponfiresound | string getweaponfiresound( int ) | |
| getweaponfiresoundplayer | string getweaponfiresoundplayer( int ) | |
| getweaponpickupsoundplayer | string getweaponpickupsoundplayer( int ) | |
| getweaponpickupsound | string getweaponpickupsound( int ) | |
| getweaponindexfromname | int getweaponindexfromname( string ) | |
| getweaponsupportedattachments | array getweaponsupportedattachments( string ) | |
| weaponhasattachment | bool weaponhasattachment( string, string, string, string, string, string, string, string, string, string ) | |
| weaponattachmentcount | int weaponattachmentcount( string ) | |
| getweaponattachments | array getweaponattachments( string, string, string ) | |
| weaponblocksprone | bool weaponblocksprone( string ) | |
| isitemrestricted | bool isitemrestricted( string ) | |
| isplayer | int isplayer( entity ) | |
| isplayernumber | int isplayernumber( int ) | |
| setwinningplayer | void setwinningplayer( entity ) | |
| setwinningteam | void setwinningteam( team ) | |
| announcement | void announcement( int ) | |
| clientannouncement | void clientannouncement( entity, int ) | |
| getteamscore | int getteamscore( team ) | |
| setteamscore | void setteamscore( team, int ) | |
| setteamhasmeat | void setteamhasmeat( team, int ) | |
| setclientnamemode | void setclientnamemode( conststring ) | |
| updateclientnames | void updateclientnames() | |
| getteamplayersalive | int getteamplayersalive( team ) | |
| getdroppedweapons | array getdroppedweapons() | |
| objective_team | void objective_team( int, team ) | |
| objective_visibleteams | void objective_visibleteams( int, int ) | |
| artilleryiconlocation | void artilleryiconlocation( vector, team, int ) | |
| logprint | void logprint( string, string, string, string, string, string, string, string, string ) | |
| worldentnumber | int worldentnumber() | |
| obituary | void obituary( entity, entity ) | |
| reviveobituary | void reviveobituary( entity ) | |
| adddemobookmark | void adddemobookmark( int, int, int, int, int, int, int, int, int, int ) | |
| positionwouldtelefrag | void positionwouldtelefrag( vector ) | |
| boundswouldtelefrag | void boundswouldtelefrag( vector, vector ) | |
| recordusedspawnpoint | void recordusedspawnpoint( entity, team, vector ) | |
| testspawnpoint | bool testspawnpoint( vector ) | |
| getstarttime | int getstarttime() | |
| map_restart | void map_restart( int ) | |
| missionfailed | void missionfailed() | |
| exitlevel | void exitlevel( int ) | |
| killserver | void killserver() | |
| addtestclient | entity addtestclient() | |
| setobjectivepointstatus | void setobjectivepointstatus() | |
| setbombtimer | void setbombtimer( string, int ) | |
| setroundsplayed | void setroundsplayed( int ) | |
| setinitialplayersconnected | void setinitialplayersconnected() | |
| setmatchflag | void setmatchflag( string, int ) | |
| setmatchtalkflag | void setmatchtalkflag( string, int ) | |
| setarchive | void setarchive() | |
| allclientsprint | void allclientsprint( string ) | |
| clientprint | void clientprint( entity, string ) | |
| mapexists | int mapexists( string ) | |
| isvalidgametype | int isvalidgametype( gametypenameforscript, string ) | |
| matchend | void matchend() | |
| skillupdate | void skillupdate( int ) | |
| recordleaguewinner | void recordleaguewinner( conststring ) | |
| setteamspyplane | void setteamspyplane( team ) | |
| getteamspyplane | int getteamspyplane( team ) | |
| setteamsatellite | void setteamsatellite( team ) | |
| getteamsatellite | int getteamsatellite( team ) | |
| getassignedteam | team getassignedteam( entity ) | |
| getdefaultclassslot | string getdefaultclassslot( string, string ) | |
| getitemattachment | string getitemattachment( int, int ) | |
| getitemattachmentallocationcost | int getitemattachmentallocationcost( int, int ) | |
| getreffromitemindex | string getreffromitemindex( int ) | |
| getitemgroupfromitemindex | string getitemgroupfromitemindex( int ) | |
| getbaseweaponitemindex | int getbaseweaponitemindex( string ) | |
| getgametypeenumfromname | int getgametypeenumfromname( string, int ) | |
| setscoreboardcolumns | void setscoreboardcolumns( string, string, string, string, string ) | |
| recordnumzombierounds | void recordnumzombierounds( int ) | |
| recordgameresult | void recordgameresult( conststring ) | |
| gettouchingvolume | array gettouchingvolume( vector, vector, vector ) | |
| recordmatchsummaryzombieendgamedata | void recordmatchsummaryzombieendgamedata( string, string, int ) | |
| matchrecorderincrementheaderstat | void matchrecorderincrementheaderstat( string ) | |
| recordmatchinit | void recordmatchinit() | |
| recordzombieroundstart | void recordzombieroundstart() | |
| recordzombieroundend | void recordzombieroundend() | |
| getcustomteamname | string getcustomteamname( int ) | |
| recordplayerstats | void recordplayerstats( entity, string, int ) | |
| recordplayermatchend | void recordplayermatchend( entity ) | |
| recordmatchbegin | void recordmatchbegin() | |
| setvotestring | void setvotestring( string ) | |
| setvotetime | void setvotetime( int ) | |
| setvoteyescount | void setvoteyescount( int ) | |
| setvotenocount | void setvotenocount( int ) | |
| reportmtu | void reportmtu() | |
| pcserverupdateplaylist | void pcserverupdateplaylist() | |
| kick | void kick( int ) | |
| ban | void ban( int ) | |
| map | void map( string, int ) | |
| playrumbleonposition | void playrumbleonposition( string, vector ) | |
| playrumblelooponposition | void playrumblelooponposition( string, vector ) | |
| stopallrumbles | void stopallrumbles() | |
| soundexists | bool soundexists( string ) | |
| soundgetplaybacktime | int soundgetplaybacktime( string ) | |
| issplitscreen | int issplitscreen() | |
| islocalgame | int islocalgame() | |
| isglobalstatsserver | int isglobalstatsserver() | |
| setminimap | void setminimap( string, float, float, float, float ) | |
| setmapcenter | void setmapcenter( vector ) | |
| setdemointermissionpoint | void setdemointermissionpoint( vector, vector ) | |
| setgameendtime | void setgameendtime( int ) | |
| setslowmotion | void setslowmotion( float, float, float ) | |
| numremoteclients | int numremoteclients() | |
| searchforonlinegames | void searchforonlinegames() | |
| quitlobby | void quitlobby() | |
| quitparty | void quitparty() | |
| startparty | void startparty() | |
| startprivatematch | void startprivatematch() | |
| visionsetnaked | void visionsetnaked( string ) | |
| visionsetnight | void visionsetnight( string ) | |
| visionsetlaststand | void visionsetlaststand( string ) | |
| setgravity | void setgravity( float ) | |
| endlobby | void endlobby() | |
| clientsysregister | int clientsysregister( string ) | |
| clientsyssetstate | void clientsyssetstate( int, string ) | |
| getsnapshotindexarray | array getsnapshotindexarray() | |
| snapshotacknowledged | int snapshotacknowledged( object ) | |
| isai | int isai( entity ) | |
| getaitriggerflags | int getaitriggerflags() | |
| disablezombies | void disablezombies() | |
| enablezombies | void enablezombies() | |
| isvehicle | int isvehicle( entity ) | |
| getmaxvehicles | int getmaxvehicles() | |
| disabledestructiblepieces | void disabledestructiblepieces( conststring ) | |
| enablealldestructiblepieces | void enablealldestructiblepieces() | |
| createdynentandlaunch | void createdynentandlaunch( string, vector, vector, vector, vector, int ) | |
| getvehicletriggerflags | int getvehicletriggerflags() | |
| collisiontestpointsinsphere | array collisiontestpointsinsphere( typename, vector, float, arrayvalues_vector, typename ) | |
| collisiontestpointsincylinder | array collisiontestpointsincylinder( typename, vector, float, float, vector, arrayvalues_vector, typename ) | |
| collisiontestpointsinpill | array collisiontestpointsinpill( typename, vector, float, float, vector, vector, arrayvalues_vector, typename ) | |
| collisiontestpointsincone | array collisiontestpointsincone( typename, vector, float, float, vector, vector, arrayvalues_vector, typename ) | |
| collisiontestpointsinbox | array collisiontestpointsinbox( typename, vector, float, float, float, vector, vector, arrayvalues_vector, typename ) | |
| qsortscoredspawnpointsascending | array qsortscoredspawnpointsascending( object, arrayvalues_vector, typename ) | |
| matrix4x4transformpoints | array matrix4x4transformpoints( object, arrayvalues_vector, object ) | |
| setspawnpointrandomvariation | void setspawnpointrandomvariation( float ) | |
| clearspawnpoints | void clearspawnpoints() | |
| addspawnpoints | void addspawnpoints( team, entityidref, entityidref, entityidref, object ) | |
| getsortedspawnpoints | array getsortedspawnpoints( team, team, int, entity, int ) | |
| clearspawnpointsbaseweight | void clearspawnpointsbaseweight( int ) | |
| setspawnpointsbaseweight | void setspawnpointsbaseweight( int, vector, float, float ) | |
| getplayerspawnid | void getplayerspawnid() | |
| isspawnpointvisible | bool isspawnpointvisible( vector, vector, team, entity ) | |
| addsphereinfluencer | int addsphereinfluencer( int, vector, float, float, int, string, int, float, entity ) | |
| addcylinderinfluencer | int addcylinderinfluencer( int, vector, vector, vector, float, float, float, int, string, int, float, entity ) | |
| removeinfluencer | void removeinfluencer( int ) | |
| enableinfluencer | void enableinfluencer( int, int ) | |
| setinfluencerteammask | void setinfluencerteammask( int, int ) | |
| setdebugsideswitch | void setdebugsideswitch() | |
| target_set | void target_set( entity, vector ) | |
| target_getoffset | vector target_getoffset( entity ) | |
| target_remove | void target_remove( entity ) | |
| target_setshader | void target_setshader( entity, string ) | |
| target_setoffscreenshader | void target_setoffscreenshader( entity, string ) | |
| target_isinrect | bool target_isinrect( float, float ) | |
| target_isincircle | bool target_isincircle( float, entity ) | |
| target_startreticlelockon | void target_startreticlelockon( entity, float ) | |
| target_clearreticlelockon | void target_clearreticlelockon() | |
| target_getarray | array target_getarray() | |
| target_istarget | bool target_istarget( entity ) | |
| target_setattackmode | void target_setattackmode( entity, conststring ) | |
| target_setjavelinonly | void target_setjavelinonly( entity, int ) | |
| target_setturretaquire | void target_setturretaquire( entity, int ) | |
| getmaxactivecontracts | int getmaxactivecontracts() | |
| getcontractstattype | void getcontractstattype() | |
| getcontractstatname | void getcontractstatname() | |
| getcontractrewardxp | void getcontractrewardxp() | |
| getcontractrewardcp | void getcontractrewardcp() | |
| getcontractrequirements | void getcontractrequirements() | |
| getcontractname | void getcontractname() | |
| getcontractrequiredcount | void getcontractrequiredcount() | |
| getcontractresetconditions | void getcontractresetconditions() | |
| getfogsettings | array getfogsettings() | |
| pixbeginevent | void pixbeginevent() | |
| pixendevent | void pixendevent() | |
| pixmarker | void pixmarker() | |
| changeadvertisedstatus | void changeadvertisedstatus( int ) | |
| setqosgamedatapayload | void setqosgamedatapayload() | |
| resetqosgamedatapayload | void resetqosgamedatapayload() | |
| incrementcounter | void incrementcounter( string, int ) | |
| getcountertotal | string getcountertotal( string ) | |
| enableoccluder | void enableoccluder( string, int ) | |
| ispregameenabled | bool ispregameenabled() | |
| ispregamegamestarted | int ispregamegamestarted() | |
| pregamestartgame | void pregamestartgame() | |
| sethostmigrationstatus | void sethostmigrationstatus( int ) | |
| starthostmigration | void starthostmigration() | |
| gamerepthresholdexceeded | void gamerepthresholdexceeded( int ) | |
| zerogravityvolumeon | void zerogravityvolumeon( string ) | |
| zerogravityvolumeoff | void zerogravityvolumeoff( string ) | |
| precacheanimstatedef | void precacheanimstatedef( int, animtree, conststring ) | |
| registerclientfield | void registerclientfield( string, string, int, int, conststring, float, float ) | |
| codesetclientfield | void codesetclientfield( entityref, string, float ) | |
| codegetclientfield | float codegetclientfield( entityref, string ) | |
| codesetplayerstateclientfield | void codesetplayerstateclientfield( entityref, string, float ) | |
| codegetplayerstateclientfield | float codegetplayerstateclientfield( entityref, string ) | |
| codesetworldclientfield | void codesetworldclientfield( string, float ) | |
| codegetworldclientfield | float codegetworldclientfield( string ) | |
| getclientfieldversion | int getclientfieldversion( string, string ) | |
| getutc | int getutc() | |
| scriptmodelsuseanimtree | void scriptmodelsuseanimtree( animtree ) |
Common Functions
| Name | Prototype | Description |
|---|---|---|
| throw | void throw() | |
| rpc | void rpc() | |
| createprintchannel | void createprintchannel( string ) | |
| setprintchannel | int setprintchannel( int ) | |
| void print( string ) | ||
| println | void println( string ) | |
| iprintln | void iprintln( string ) | |
| iprintlnbold | void iprintlnbold( string ) | |
| print3d | void print3d( vector, string, vector ) | |
| line | void line( vector, vector, vector ) | |
| linelist | void linelist( object, vector, arrayvalues_vector, float ) | |
| box | void box( vector, vector, vector, float ) | |
| circle | void circle( vector, float, vector ) | |
| debugstar | void debugstar( vector, int ) | |
| sphere | void sphere( vector, float, vector, float ) | |
| getenterbutton | string getenterbutton() | |
| array | array array( value ) | |
| arrayremovevalue | void arrayremovevalue( object, value, int ) | |
| arrayremoveindex | void arrayremoveindex( object, int, int ) | |
| arrayinsert | void arrayinsert( object, value, int ) | |
| arraycombine | void arraycombine( object, object, int, int ) | |
| arraycopy | value arraycopy( object ) | |
| isinarray | bool isinarray( object, value ) | |
| arraysort | array arraysort( object, vector, int, int, float ) | |
| getent | entitynum getent( offset, string ) | |
| getentarray | array getentarray( offset, string ) | |
| tablelookup | void tablelookup() | |
| tablelookupistring | void tablelookupistring() | |
| tablelookuprownum | String tablelookuprownum(tableName, rowIndex, columnIndex) | Returns the cell value at the specified row and specified column from the specified CSV representing a custom row numbering for the data |
| tablelookupcolumnforrow | void tablelookupcolumnforrow() | |
| tablelookupfindcoreasset | void tablelookupfindcoreasset() | |
| getnode | entitynum getnode( conststring, string, offset ) | |
| drawnode | void drawnode( entityref ) | |
| getnodearray | array getnodearray( conststring, string, offset ) | |
| getnodearraysorted | array getnodearraysorted( conststring, string, offset, float ) | |
| getanynodearray | array getanynodearray( vector, float ) | |
| getcovernodearray | array getcovernodearray( vector, float ) | |
| getallnodes | array getallnodes() | |
| getnodesinradius | void getnodesinradius() | |
| getnodesinradiussorted | void getnodesinradiussorted() | |
| getnearestnode | entitynum getnearestnode( vector ) | |
| getvisiblenode | entitynum getvisiblenode( vector, vector, entity ) | |
| nodesvisible | bool nodesvisible( entityref, entityref ) | |
| nodescanpath | bool nodescanpath( entityref, entityref ) | |
| canclaimnode | bool canclaimnode( entityref, team ) | |
| getvisiblenodes | array getvisiblenodes( entityref ) | |
| setenablenode | void setenablenode( entityref ) | |
| linknodes | void linknodes( entityref, entityref ) | |
| unlinknodes | void unlinknodes( entityref, entityref ) | |
| nodesarelinked | int nodesarelinked( entityref, entityref ) | |
| dropnodetofloor | void dropnodetofloor( entityref ) | |
| tetherservertoclient | void tetherservertoclient( int ) | |
| spawnpathnode | entitynum spawnpathnode( string, vector, string, vector ) | |
| deletepathnode | void deletepathnode( entityref ) | |
| setturretnode | void setturretnode( entityref, entity ) | |
| unsetturretnode | void unsetturretnode( entityref ) | |
| setnodepriority | void setnodepriority( entityref, int ) | |
| isnodeoccupied | bool isnodeoccupied( entityref ) | |
| getnodeowner | entity getnodeowner( entityref ) | |
| findpath | bool findpath( vector, vector, entity, int, int ) | |
| getreflectionlocs | void getreflectionlocs() | |
| getreflectionorigin | void getreflectionorigin() | |
| logstring | void logstring() | |
| bbprint | void bbprint() | |
| bbpostdemostreamstatsforround | void bbpostdemostreamstatsforround( int ) | |
| precachevehicle | void precachevehicle( string ) | |
| getvehiclenode | entitynum getvehiclenode( conststring, string, offset ) | |
| setvehiclenodeenabled | void setvehiclenodeenabled( entityref, int ) | |
| getvehiclenodearray | array getvehiclenodearray( conststring, string, offset ) | |
| getallvehiclenodes | array getallvehiclenodes() | |
| gettimefromvehiclenodetonode | float gettimefromvehiclenodetonode( entityref, entityref ) | |
| reconnectvehiclenodes | void reconnectvehiclenodes() | |
| createtrack | void createtrack( entityref ) | |
| getnumvehicles | int getnumvehicles() | |
| setheliheightpatchenabled | void setheliheightpatchenabled( conststring, int ) | |
| getvehicletreadfxarray | array getvehicletreadfxarray( string ) | |
| getweaponfusetime | int getweaponfusetime( string ) | |
| getweaponprojexplosionsound | string getweaponprojexplosionsound( string ) | |
| doesweaponreplacespawnweapon | int doesweaponreplacespawnweapon( string, string ) | |
| debugbreak | void debugbreak() | |
| assert | void assert( int, string ) | |
| assertmsg | void assertmsg( string ) | |
| adddebugcommand | void adddebugcommand( string ) | |
| ismp | int ismp() | |
| isstring | int isstring() | |
| isint | int isint() | |
| isfloat | int isfloat() | |
| isvec | int isvec() | |
| isarray | int isarray() | |
| isalive | int isalive( entity ) | |
| isspawner | int isspawner( entity ) | |
| isplayer | int isplayer( entity ) | |
| isai | int isai( entity ) | |
| issentient | int issentient( entity ) | |
| isgodmode | int isgodmode() | |
| makedvarserverinfo | void makedvarserverinfo( string, string ) | |
| setdvar | void setdvar( string, string ) | |
| setdvarint | void setdvarint( string, int ) | |
| gettime | int gettime() | |
| sendaiscriptkeys | void sendaiscriptkeys( string, string ) | |
| shouldmonitorai | bool shouldmonitorai() | |
| is_ps3 | int is_ps3() | |
| is_xenon | int is_xenon() | |
| is_pc | int is_pc() | |
| is_wiiu | int is_wiiu() | |
| randomint | int randomint( int ) | |
| randomfloat | float randomfloat( float ) | |
| randomintrange | int randomintrange( int, int ) | |
| randomfloatrange | float randomfloatrange( float, float ) | |
| log | float log( float ) | |
| sin | float sin( float ) | |
| cos | float cos( float ) | |
| tan | float tan( float ) | |
| asin | float asin( float ) | |
| acos | float acos( float ) | |
| atan | float atan( float ) | |
| int | int int( typename ) | |
| float | float float( typename ) | |
| istring | istring istring( typename ) | |
| min | float min( float, float ) | |
| max | float max( float, float ) | |
| floor | float floor( float ) | |
| ceil | float ceil( float ) | |
| sqrt | float sqrt( float ) | |
| pow | float pow( float, float ) | |
| lerpfloat | float lerpfloat( float, float, float ) | |
| lerpvector | vector lerpvector( vector, vector, float ) | |
| difftrack | float difftrack( float, float, float, float ) | |
| difftrackangle | float difftrackangle( float, float, float, float ) | |
| getminbitcountfornum | int getminbitcountfornum( int ) | |
| vectorfromlinetopoint | vector vectorfromlinetopoint( vector, vector, vector ) | |
| pointonsegmentnearesttopoint | vector pointonsegmentnearesttopoint( vector, vector, vector ) | |
| distance | float distance( vector, vector ) | |
| distance2d | float distance2d( vector, vector ) | |
| distance2dsquared | float distance2dsquared( vector, vector ) | |
| distancesquared | float distancesquared( vector, vector ) | |
| length | float length( vector ) | |
| lengthsquared | float lengthsquared( vector ) | |
| closer | int closer( vector, vector, vector ) | |
| vectordot | float vectordot( vector, vector ) | |
| vectorcross | vector vectorcross( vector, vector ) | |
| vectornormalize | vector vectornormalize( vector ) | |
| vectorlerp | vector vectorlerp( vector, vector, float ) | |
| combineangles | vector combineangles( vector, vector ) | |
| absangleclamp180 | float absangleclamp180( float ) | |
| absangleclamp360 | float absangleclamp360( float ) | |
| anglelerp | float anglelerp( float, float, float ) | |
| rotatepoint | vector rotatepoint( vector, vector ) | |
| sessionmodeisonlinegame | int sessionmodeisonlinegame() | |
| sessionmodeisprivateonlinegame | int sessionmodeisprivateonlinegame() | |
| sessionmodeisprivate | int sessionmodeisprivate() | |
| sessionmodeissystemlink | int sessionmodeissystemlink() | |
| sessionmodeiszombiesgame | int sessionmodeiszombiesgame() | |
| gamemodeismode | int gamemodeismode( int ) | |
| gamemodeisusingxp | int gamemodeisusingxp() | |
| gamemodeisusingstats | int gamemodeisusingstats() | |
| getgametypesetting | int getgametypesetting( string ) | |
| setgametypesetting | void setgametypesetting( string, int ) | |
| issubstr | bool issubstr( string ) | |
| getsubstr | string getsubstr( string, int, int ) | |
| tolower | string tolower( string ) | |
| toupper | string toupper( string ) | |
| strtok | array strtok( conststring, conststring ) | |
| soundfade | void soundfade( float, float ) | |
| playsoundatposition | void playsoundatposition( string ) | |
| setlocalprofilevar | void setlocalprofilevar( string, string ) | |
| setlocalprofilearrayvar | void setlocalprofilearrayvar( string, int, string ) | |
| getlocalprofileint | int getlocalprofileint( string ) | |
| getlocalprofilearrayint | int getlocalprofilearrayint( string ) | |
| getlocalprofilefloat | float getlocalprofilefloat( string ) | |
| getlocalprofilestring | string getlocalprofilestring( string ) | |
| openfile | void openfile() | |
| closefile | void closefile() | |
| fprintln | void fprintln() | |
| fprintfields | void fprintfields() | |
| freadln | void freadln() | |
| fgetarg | void fgetarg() | |
| execdevgui | void execdevgui() | |
| getarraykeys | arraykeys getarraykeys( object ) | |
| getfirstarraykey | firstarraykey getfirstarraykey( object ) | |
| getnextarraykey | nextarraykey getnextarraykey( object, value ) | |
| getlastarraykey | lastarraykey getlastarraykey( object ) | |
| getprevarraykey | prevarraykey getprevarraykey( object, value ) | |
| uploadstats | void uploadstats( entity ) | |
| registerxp | void registerxp( string, float, int, int, int, int ) | |
| getclassindexfromname | int getclassindexfromname( string ) | |
| getaiarray | array getaiarray( team, conststring ) | |
| getaispeciesarray | array getaispeciesarray( team, conststring ) | |
| getfreeactorcount | int getfreeactorcount() | |
| getspawnerarray | array getspawnerarray( offset, genericspawnerarray, string ) | |
| getscriptmoverarray | array getscriptmoverarray() | |
| getzbarrierarray | array getzbarrierarray() | |
| getitemarray | array getitemarray() | |
| getcorpsearray | array getcorpsearray() | |
| getspawnerteamarray | array getspawnerteamarray( team, conststring ) | |
| getvehiclespawnerarray | void getvehiclespawnerarray( team, conststring ) | |
| getvehiclearray | void getvehiclearray( team, conststring ) | |
| getarraykeys | arraykeys getarraykeys( object ) | |
| getfirstarraykey | firstarraykey getfirstarraykey( object ) | |
| getnextarraykey | nextarraykey getnextarraykey( object, value ) | |
| luinotifyevent | void luinotifyevent() | |
| profilelog_begintiming | void profilelog_begintiming() | |
| profilelog_endtiming | void profilelog_endtiming() | |
| getstartorigin | vector getstartorigin( vector, vector, anims, anim ) | |
| getstartangles | vector getstartangles( vector, vector, anims, anim ) | |
| disablegrenadesuicide | void disablegrenadesuicide() | |
| enablegrenadesuicide | void enablegrenadesuicide() | |
| activateclientexploder | void activateclientexploder( int ) | |
| deactivateclientexploder | void deactivateclientexploder( int ) | |
| getmissileowner | entity getmissileowner( entity ) | |
| precacheleaderboards | void precacheleaderboards( string ) | |
| addargus | void addargus() | |
| removeargus | void removeargus() | |
| deployriotshield | entity deployriotshield( entity, entity ) | |
| getnumexpectedplayers | int getnumexpectedplayers() | |
| getnumconnectedplayers | int getnumconnectedplayers() | |
| forceyellowdot | void forceyellowdot( int ) | |
| disableyellowdot | void disableyellowdot( int ) | |
| allowcamerarotation | void allowcamerarotation( int ) | |
| reloadonnunchuk | bool reloadonnunchuk() | |
| reloadonwiiumote | bool reloadonwiiumote() |