User contributions for CoDEmanX
Jump to navigation
Jump to search
31 July 2009
- 10:1810:18, 31 July 2009 diff hist +515 N Call of Duty 4: Scripting Reference - Mathl::PointOnSegmentNearestToPoint New page: {{Function |Version=4 |Name=PointOnSegmentNearestToPoint( SegmentA, SegmentB, P ) |Module=Math |Available |Summary=Given a line segment and a point P, this returns the point on the segment... current
- 10:1710:17, 31 July 2009 diff hist +253 N Call of Duty 4: Scripting Reference - File::CloseFile New page: {{Function |Version=4 |Name=CloseFile(<filenum>) |Module=File |Available |Summary=Close a script-controlled file. Returns 1 if successful and -1 if unsuccessful. |Call_on |Example |R... current
- 10:1610:16, 31 July 2009 diff hist +279 N Call of Duty 4: Scripting Reference - File::FGetArg New page: {{Function |Version=4 |Name=FGetArg( <filenum>, <arg> ) |Module=File |Available |Summary=Get a specific argument number from the current line |Call_on |Example |Required_args= ... current
- 10:1610:16, 31 July 2009 diff hist +422 N Call of Duty 4: Scripting Reference - File::FPrintFields New page: {{Function |Version=4 |Name=FPrintFields( <filenum>, <output> ) |Module=File |Available |Summary=Writes items out to a script-controlled file, inserting a comma in-between each... current
- 10:1610:16, 31 July 2009 diff hist +274 N Call of Duty 4: Scripting Reference - File::FPrintLn New page: {{Function |Version=4 |Name=FPrintLn( <filenum>, <output> ) |Module=File |Available |Summary=Write text out to a script-controlled file |Call_on |Example |Required_args= # <... current
- 10:1610:16, 31 July 2009 diff hist +313 N Call of Duty 4: Scripting Reference - File::FReadLn New page: {{Function |Version=4 |Name=FReadLn( <file num> ) |Module=File |Available |Summary=Read the next line of comma separated value text from a script-controlled file. Returns the number ... current
- 10:1610:16, 31 July 2009 diff hist +428 N Call of Duty 4: Scripting Reference - File::OpenFile New page: {{Function |Version=4 |Name=OpenFile( <filename>, <mode> ) |Module=File |Available |Summary=Open a file for reading, writing, or appending. If successful returns a file number,...
- 10:1510:15, 31 July 2009 diff hist +337 N Call of Duty 4: Scripting Reference - Effects::GetFXVisibility New page: {{Function |Version=4 |Name=GetFXVisibility( <start>, <end> ) |Module=Effects |Available=SP Only |Summary=Returns the amount of visibilty (0.0 - 1.0) between the start and end ... current
- 10:1510:15, 31 July 2009 diff hist +509 N Call of Duty 4: Scripting Reference - Effects::PlayFX New page: {{Function |Version=4 |Name=PlayFX( <effect id >, <position of effect>, <forward vector>, <up vector> ) |Module=Effects |Available |Summary=Play this effect. |Call_... current
- 10:1510:15, 31 July 2009 diff hist +297 N Call of Duty 4: Scripting Reference - Effects::LoadFX New page: {{Function |Version=4 |Name=LoadFX( <filename> ) |Module=Effects |Available |Summary=Load the given effect |Call_on |Example=<pre>fx = LoadFX( "explosions/large_vehicle_explosion" );... current
- 10:1510:15, 31 July 2009 diff hist +410 N Call of Duty 4: Scripting Reference - Effects::PlayFXOnTag New page: {{Function |Version=4 |Name=PlayFXOnTag( <effect id >, <entity>, <tag name> ) |Module=Effects |Available |Summary=Play this effect on the entity and tag. |Call_on |Exampl... current
- 10:1410:14, 31 July 2009 diff hist +663 N Call of Duty 4: Scripting Reference - Effects::PlayLoopedFX New page: {{Function |Version=4 |Name=PlayLoopedFX( <effect id>, <repeat delay>, <position>, <cull distance>, <forward>, <up> ) |Module=Effects |Available |Summar... current
- 10:1410:14, 31 July 2009 diff hist +391 N Call of Duty 4: Scripting Reference - Effects::SetBlur New page: {{Function |Version=4 |Name=SetBlur( <target_blur>, <time> ) |Module=Effects |Available=SP Only |Summary=Blur the screen over a period of time. |Call_on |Example=<pre>SetBlur( ... current
- 10:1410:14, 31 July 2009 diff hist +761 N Call of Duty 4: Scripting Reference - Effects::SetExpFog New page: {{Function |Version=4 |Name=SetExpFog( <startDist>, <halfwayDist>, <red>, <green>, <blue>, <transition time> ) |Module=Effects |Available |Summary=Creat...
- 10:1410:14, 31 July 2009 diff hist +583 N Call of Duty 4: Scripting Reference - Effects::SpawnFx New page: {{Function |Version=4 |Name=SpawnFx( <effect id>, <position>, <forward>, <up> ) |Module=Effects |Available |Summary=Create an effect entity that can be re-triggered... current
- 10:1410:14, 31 July 2009 diff hist +445 N Call of Duty 4: Scripting Reference - Effects::TriggerFX New page: {{Function |Version=4 |Name=TriggerFX( <effect entity>, <when> ) |Module=Effects |Available |Summary=Replays the effect associated with the effect entity. This does not kill a... current
- 10:1310:13, 31 July 2009 diff hist +510 N Call of Duty 4: Scripting Reference - Effects::VisionSetNaked New page: {{Function |Version=4 |Name=VisionSetNaked( <visionset name>, <transition time> ) |Module=Effects |Available |Summary=Sets players' naked-eye vision. Optionally give a transit... current
- 10:1310:13, 31 July 2009 diff hist +484 N Call of Duty 4: Scripting Reference - Effects::VisionSetNight New page: {{Function |Version=4 |Name=VisionSetNight( <visionset name>, <transition time> ) |Module=Effects |Available |Summary=Sets the vision preset to use for players' night vision vi... current
- 10:1210:12, 31 July 2009 diff hist +265 N Call of Duty 4: Scripting Reference - Dvars::GetDvarFloat New page: {{Function |Version=4 |Name=GetDvarFloat( <dvar> ) |Module=Dvars |Available |Summary=Gets the value of a dvar, as a floating point number. |Call_on |Example=<pre>oldDelay = GetDvarFl... current
- 10:1210:12, 31 July 2009 diff hist +253 N Call of Duty 4: Scripting Reference - Dvars::GetDvarInt New page: {{Function |Version=4 |Name=GetDvarInt( <dvar> ) |Module=Dvars |Available |Summary=Gets the value of a dvar, as an integer. |Call_on |Example=<pre>level.fogtype = GetDvarInt( "scr_fo... current
- 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