User contributions for CoDEmanX
Jump to navigation
Jump to search
31 July 2009
- 10:1210:12, 31 July 2009 diff hist +358 N Call of Duty 4: Scripting Reference - Dvars::SetDvar New page: {{Function |Version=4 |Name=SetDvar( <dvar>, <value> ) |Module=Dvars |Available |Summary=Sets the value of a script dvar. Can not set code dvars. Script dvars are not preserv... current
- 10:1210:12, 31 July 2009 diff hist +390 N Call of Duty 4: Scripting Reference - Dvars::SetSavedDvar New page: {{Function |Version=4 |Name=SetSavedDvar( <dvar>, <value> ) |Module=Dvars |Available=SP Only |Summary=Sets the value of a code "SAVED" dvar. Saved dvars are preserved in save ... current
- 10:1210:12, 31 July 2009 diff hist +263 N Call of Duty 4: Scripting Reference - Dvars::GetDebugDvar New page: {{Function |Version=4 |Name=GetDebugDvar( <dvar> ) |Module=Dvars |Available=SP Only |Summary=Gets the value of a debug dvar, as a string. |Call_on |Example=<pre>if ( GetDebugDvar( "d... current
- 10:1110:11, 31 July 2009 diff hist +301 N Call of Duty 4: Scripting Reference - Dvars::GetDebugDvarFloat New page: {{Function |Version=4 |Name=GetDebugDvarFloat( <dvar> ) |Module=Dvars |Available=SP Only |Summary=Gets the value of a debug dvar, as a floating point number. |Call_on |Example=<pre>i... current
- 10:1110:11, 31 July 2009 diff hist +283 N Call of Duty 4: Scripting Reference - Dvars::GetDebugDvarInt New page: {{Function |Version=4 |Name=GetDebugDvarInt( <dvar> ) |Module=Dvars |Available=SP Only |Summary=Gets the value of a debug dvar, as an integer. |Call_on |Example=<pre>if ( GetDebugDva... current
- 10:1110:11, 31 July 2009 diff hist +249 N Call of Duty 4: Scripting Reference - Dvars::GetDvar New page: {{Function |Version=4 |Name=GetDvar( <dvar> ) |Module=Dvars |Available |Summary=Gets the value of a dvar, as a string. |Call_on |Example=<pre>if( GetDvar( "debug_skipintro" ) == "on"... current
- 10:1010:10, 31 July 2009 diff hist +442 N Call of Duty 4: Scripting Reference - Debug::AssertEx New page: {{Function |Version=4 |Name=AssertEx( <value>, <message> ) |Module=Debug |Available |Summary=Assert that the given statement is correct. The function will throw a script error... current
- 10:1010:10, 31 July 2009 diff hist +689 N Call of Duty 4: Scripting Reference - Debug::Line New page: {{Function |Version=4 |Name=Line( <start>, <end>, <color>, <depthTest>, <duration> ) |Module=Debug |Available |Summary=Draw a debug line on screen |Call_on |E... current
- 10:1010:10, 31 July 2009 diff hist +235 N Call of Duty 4: Scripting Reference - Debug::Print New page: {{Function |Version=4 |Name=Print( <text> ) |Module=Debug |Available |Summary=Development only - write to the console |Call_on |Example=<pre>Print( "Stuff and things!" );</pre> |Requ... current
- 10:0910:09, 31 July 2009 diff hist +667 N Call of Duty 4: Scripting Reference - Debug::Print3d New page: {{Function |Version=4 |Name=Print3d( <origin>, <text>, <color>, <alpha>, <scale>, <duration> ) |Module=Debug |Available |Summary=Draw 3d text on screen ... current
- 10:0910:09, 31 July 2009 diff hist +251 N Call of Duty 4: Scripting Reference - Debug::PrintLn New page: {{Function |Version=4 |Name=PrintLn( <text> ) |Module=Debug |Available |Summary=Development only - write line to the console |Call_on |Example=<pre>PrintLn( "I could be doing better!... current
- 10:0910:09, 31 July 2009 diff hist +269 N Call of Duty 4: Scripting Reference - Debug::SetDebugAngles New page: {{Function |Version=4 |Name=SetDebugAngles( <angles> ) |Module=Debug |Available=SP Only |Summary=Set the debugging angles for a debug camera. |Call_on |Example=<pre>SetDebugAngles( c... current
- 10:0910:09, 31 July 2009 diff hist +283 N Call of Duty 4: Scripting Reference - Debug::SetDebugOrigin New page: {{Function |Version=4 |Name=SetDebugOrigin( <origin> ) |Module=Debug |Available=SP Only |Summary=Set the debugging origin for a debug camera. |Call_on |Example=<pre>SetDebugOrigin( c... current
- 10:0810:08, 31 July 2009 diff hist +316 N Call of Duty 4: Scripting Reference - Debug::SetPrintChannel New page: {{Function |Version=4 |Name=SetPrintChannel( <channel> ) |Module=Debug |Available |Summary=Set the current print channel. Returns the previous channel. |Call_on |Example=<pre>prevcha... current
- 10:0810:08, 31 July 2009 diff hist +213 N Call of Duty 4: Scripting Reference - Debug::AddTestClient New page: {{Function |Version=4 |Name=AddTestClient() |Module=Debug |Available=MP Only |Summary=Adds a test client to the map and returns a reference to that client. |Call_on |Example=<pre>ent[i] = ... current
- 10:0810:08, 31 July 2009 diff hist +325 N Call of Duty 4: Scripting Reference - Debug::Assert New page: {{Function |Version=4 |Name=Assert( <value> ) |Module=Debug |Available |Summary=Assert that the given statement is correct. The function will throw a script error if this is false. ... current
- 10:0710:07, 31 July 2009 diff hist +254 N Call of Duty 4: Scripting Reference - Debug::AssertMsg New page: {{Function |Version=4 |Name=AssertMsg( <message> ) |Module=Debug |Available |Summary=Throws a script error with the given message. |Call_on |Example=<pre>AssertMsg( "Unhandled enemy ... current
- 10:0610:06, 31 July 2009 diff hist +262 N Call of Duty 4: Scripting Reference - Debug::CreatePrintChannel New page: {{Function |Version=4 |Name=CreatePrintChannel( <channel name> ) |Module=Debug |Available |Summary=Open a print channel |Call_on |Example=<pre>CreatePrintChannel( "script_bler" );</p... current
- 10:0610:06, 31 July 2009 diff hist +227 N Call of Duty 4: Scripting Reference - Debug::GetDebugEye New page: {{Function |Version=4 |Name=GetDebugEye() |Module=Debug |Available=SP Only |Summary=Gets the debug position of the eye for an AI or Player |Call_on=A player or actor |Example=<pre> eyePos... current
- 10:0510:05, 31 July 2009 diff hist +231 N Call of Duty 4: Scripting Reference - Debug::IPrintLnBold New page: {{Function |Version=4 |Name=IPrintLnBold( <text> ) |Module=Debug |Available |Summary=write bold line to the screen |Call_on |Example=<pre>IPrintLnBold( "Mitchell!" );</pre> |Required... current
- 10:0510:05, 31 July 2009 diff hist +241 N Call of Duty 4: Scripting Reference - Debug::IPrintLn New page: {{Function |Version=4 |Name=IPrintLn( <text> ) |Module=Debug |Available |Summary=Write line to the screen |Call_on |Example=<pre>IPrintLn( "Where have all the cowboys gone?" );</pre>... current
- 10:0410:04, 31 July 2009 diff hist +355 N Call of Duty 4: Scripting Reference - Damage::SetPlayerIgnoreRadiusDamage New page: {{Function |Version=4 |Name=SetPlayerIgnoreRadiusDamage( <player ignore radius damage> ) |Module=Damage |Available |Summary=Sets the player to ignore radius damage |Call_on |Example=... current
- 10:0410:04, 31 July 2009 diff hist +1,071 N Call of Duty 4: Scripting Reference - Damage::FinishPlayerDamage New page: {{Function |Version=4 |Name=FinishPlayerDamage( <Inflictor>, <Attacker>, <Damage>, <Damage Flags>, <Means of Death>, <Weapon>, <Direction>, <Hi... current
- 10:0310:03, 31 July 2009 diff hist +384 N Call of Duty 4: Scripting Reference - Damage::SetCanDamage New page: {{Function |Version=4 |Name=SetCanDamage( <can damage> ) |Module=Damage |Available=SP Only |Summary=Set the candamage flag for this entity - this means that it can respond to notifie... current
- 10:0310:03, 31 July 2009 diff hist +847 N Call of Duty 4: Scripting Reference - Damage::RadiusDamage New page: {{Function |Version=4 |Name=RadiusDamage( <origin>, <range>, <max damage>, <min damage>, [attacker] ) |Module=Damage |Available |Summary=Does damage to all damageab... current
- 10:0210:02, 31 July 2009 diff hist +323 N Call of Duty 4: Scripting Reference - Control::GetCommandFromKey New page: {{Function |Version=4 |Name=GetCommandFromKey( <key> ) |Module=Control |Available=SP Only |Summary=Gets the command bound to the key. Applicable values are: "Z","BUTTON_LSTICK","BUTT... current
- 10:0110:01, 31 July 2009 diff hist +749 N Call of Duty 4: Scripting Reference - Control::GetKeyBinding New page: {{Function |Version=4 |Name=GetKeyBinding( <key binding> ) |Module=Control |Available=SP Only |Summary=Gets a key binding. Applicable values are: "+scores","+speed","+forward","+back... current
- 10:0110:01, 31 July 2009 diff hist +290 N Call of Duty 4: Scripting Reference - Client::AllClientsPrint New page: {{Function |Version=4 |Name=AllClientsPrint( <string> ) |Module=Client |Available=MP Only |Summary=Cause all clients to print the localized version of this string. |Call_on |Example=... current
- 10:0110:01, 31 July 2009 diff hist +469 N Call of Duty 4: Scripting Reference - Client::AllowSpectateTeam New page: {{Function |Version=4 |Name=AllowSpectateTeam( <team>, <spectate> ) |Module=Client |Available=MP Only |Summary=Set whether the player can spectate the given team. |Call_on=A P... current
- 10:0010:00, 31 July 2009 diff hist +212 N Call of Duty 4: Scripting Reference - Client::Announcement New page: {{Function |Version=4 |Name=Announcement( <string> ) |Module=Client |Available=MP Only |Summary=Sends an announcement to all clients. |Call_on |Example |Required_args= # <string&... current
- 10:0010:00, 31 July 2009 diff hist +218 N Call of Duty 4: Scripting Reference - Client::Ban New page: {{Function |Version=4 |Name=Ban(<clientnum>) |Module=Client |Available=MP Only |Summary=Bans the specified player. |Call_on |Example |Required_args= # <clientnum> The client n... current
- 10:0010:00, 31 July 2009 diff hist +981 N Call of Duty 4: Scripting Reference - Client::BeginLocationSelection New page: {{Function |Version=4 |Name=BeginLocationSelection( <location selector>, <selector size> ) |Module=Client |Available |Summary=Causes the player to begin selecting a location. A... current
- 09:5909:59, 31 July 2009 diff hist +313 N Call of Duty 4: Scripting Reference - Client::ClientAnnouncement New page: {{Function |Version=4 |Name=ClientAnnouncement( <clientnum>, <string> ) |Module=Client |Available=MP Only |Summary=Sends an announcement to a single client. |Call_on |Example ... current
- 09:5909:59, 31 July 2009 diff hist +300 N Call of Duty 4: Scripting Reference - Client::ClientPrint New page: {{Function |Version=4 |Name=ClientPrint( <client>, <string> ) |Module=Client |Available=MP Only |Summary=Print a localized version of this string for a given client |Call_on=R... current
- 09:5909:59, 31 July 2009 diff hist +336 N Call of Duty 4: Scripting Reference - Client::ClonePlayer New page: {{Function |Version=4 |Name=ClonePlayer( <deathAnimationDuration> ) |Module=Client |Available=MP Only |Summary=clone the player's model for death animations. |Call_on=A Client |Exam... current
- 09:5909:59, 31 July 2009 diff hist +179 N Call of Duty 4: Scripting Reference - Client::DisableWeapons New page: {{Function |Version=4 |Name=DisableWeapons() |Module=Client |Available |Summary=Disable the player's weapon |Call_on=A Player |Example=<pre>level.player DisableWeapons();</pre> }} current
- 09:5909:59, 31 July 2009 diff hist +269 N Call of Duty 4: Scripting Reference - Client::DropItem New page: {{Function |Version=4 |Name=DropItem( <itemName> ) |Module=Client |Available=MP Only |Summary=Drop an item with the given item name |Call_on=A Player |Example=<pre>self DropItem( cur... current
- 09:5809:58, 31 July 2009 diff hist +177 N Call of Duty 4: Scripting Reference - Client::EnableWeapons New page: {{Function |Version=4 |Name=EnableWeapons() |Module=Client |Available |Summary=Enable the player's weapons |Call_on=A Player |Example=<pre>level.player EnableWeapons();</pre> }} current
- 09:5709:57, 31 July 2009 diff hist +245 N Call of Duty 4: Scripting Reference - Client::EndLocationSelection New page: {{Function |Version=4 |Name=EndLocationSelection() |Module=Client |Available |Summary=Causes the player to leave location selection mode. Works with beginlocationselection(). |Call_on=A Pl... current
- 09:5709:57, 31 July 2009 diff hist +497 N Call of Duty 4: Scripting Reference - Client::ForceViewmodelAnimation New page: {{Function |Version=4 |Name=ForceViewmodelAnimation( weaponName, animName ) |Module=Client |Available=SP Only |Summary=Forces the viewmodel to play the nightvision pulldown animation for t... current
- 09:5709:57, 31 July 2009 diff hist +211 N Call of Duty 4: Scripting Reference - Client::GetViewModel New page: {{Function |Version=4 |Name=GetViewModel() |Module=Client |Available=MP Only |Summary=Get the viewmodel name for the given player |Call_on=A Player |Example=<pre>info["viewmodel"] = self G... current
- 09:5709:57, 31 July 2009 diff hist +199 N Call of Duty 4: Scripting Reference - Client::IsMantling New page: {{Function |Version=4 |Name=IsMantling() |Module=Client |Available=MP Only |Summary=Return true if the player is mantling, false otherwise. |Call_on=A player |Example=<pre>self IsMantling(... current
- 09:5709:57, 31 July 2009 diff hist +202 N Call of Duty 4: Scripting Reference - Client::IsOnLadder New page: {{Function |Version=4 |Name=IsOnLadder() |Module=Client |Available=MP Only |Summary=Return true if the player is on a ladder, false otherwise. |Call_on=A player |Example=<pre>self IsOnLadd... current
- 09:5609:56, 31 July 2009 diff hist +190 N Call of Duty 4: Scripting Reference - Client::IsPlayerNumber New page: {{Function |Version=4 |Name=IsPlayerNumber( <entity number> ) |Module=Client |Available=MP Only |Summary=Returns true if the passed in int is a valid client number |Call_on |Example ... current
- 09:5609:56, 31 July 2009 diff hist +191 N Call of Duty 4: Scripting Reference - Client::IsRagdoll New page: {{Function |Version=4 |Name=IsRagdoll() |Module=Client |Available=MP Only |Summary=Return true if the entity is a ragdoll body, false otherwise. |Call_on=A player or player corpse |Example... current
- 09:5609:56, 31 July 2009 diff hist +165 N Call of Duty 4: Scripting Reference - Client::IsTalking New page: {{Function |Version=4 |Name=IsTalking() |Module=Client |Available=MP Only |Summary=Returns true if the player is talking via voice chat |Call_on=A player |Example }} current
- 09:5609:56, 31 July 2009 diff hist +235 N Call of Duty 4: Scripting Reference - Client::Kick New page: {{Function |Version=4 |Name=Kick(<clientnum>) |Module=Client |Available=MP Only |Summary=Kicks the specified player. |Call_on=Required Args: |Example |Required_args= # <clientnum&... current
- 09:5509:55, 31 July 2009 diff hist +373 N Call of Duty 4: Scripting Reference - Client::MakeDvarServerInfo New page: {{Function |Version=4 |Name=MakeDvarServerInfo( <dvar name>, <dvar value> ) |Module=Client |Available=MP Only |Summary=Flags a dvar with the DVAR_CODINFO flag |Call_on=A player... current
- 09:5509:55, 31 July 2009 diff hist +200 N Call of Duty 4: Scripting Reference - Client::NightVisionForceOff New page: {{Function |Version=4 |Name=NightVisionForceOff() |Module=Client |Available |Summary=Clears the player's nightvision state. |Call_on=A Player |Example=<pre>level.player NightVisionForceOff... current
- 09:5509:55, 31 July 2009 diff hist +299 N Call of Duty 4: Scripting Reference - Client::SayAll New page: {{Function |Version=4 |Name=SayAll( <message> ) |Module=Client |Available=MP Only |Summary=Write a client chat message from this client to everybody |Call_on=A Player |Example=<pre>... current