User contributions for CoDEmanX
Jump to navigation
Jump to search
1 August 2009
- 02:3202:32, 1 August 2009 diff hist +328 N Call of Duty 4: Scripting Reference - Precache::PreCacheModel New page: {{Function |Version=4 |Name=PreCacheModel( <model> ) |Module=Precache |Available |Summary=Precaches the given model. It must be called before any wait statements in the level script.... current
- 02:3202:32, 1 August 2009 diff hist +187 N Call of Duty 4: Scripting Reference - Precache::PrecacheNightvisionCodeAssets New page: {{Function |Version=4 |Name=PrecacheNightvisionCodeAssets() |Module=Precache |Available=SP Only |Summary=Precaches assets needed by code for the Nightvision features. |Call_on |Example }} current
- 02:3202:32, 1 August 2009 diff hist +281 N Call of Duty 4: Scripting Reference - Precache::PreCacheRumble New page: {{Function |Version=4 |Name=PreCacheRumble( <rumble> ) |Module=Precache |Available |Summary=Precaches the given rumble. It must be called before any wait statements in the level scri... current
- 02:3102:31, 1 August 2009 diff hist +342 N Call of Duty 4: Scripting Reference - Precache::PreCacheShader New page: {{Function |Version=4 |Name=PreCacheShader( <shader name> ) |Module=Precache |Available |Summary=Precaches the given shader. It must be called before any wait statements in the level... current
- 02:3102:31, 1 August 2009 diff hist +333 N Call of Duty 4: Scripting Reference - Precache::PreCacheShellShock New page: {{Function |Version=4 |Name=PreCacheShellShock( <shellshock effect name> ) |Module=Precache |Available |Summary=Precaches the shellshock effect. It must be called before any wait sta... current
- 02:3102:31, 1 August 2009 diff hist +287 N Call of Duty 4: Scripting Reference - Precache::PreCacheStatusIcon New page: {{Function |Version=4 |Name=PreCacheStatusIcon( <status icon name> ) |Module=Precache |Available=MP Only |Summary=precache a status icon. |Call_on |Example=<pre>PreCacheStatusIcon( "... current
- 02:3102:31, 1 August 2009 diff hist +281 N Call of Duty 4: Scripting Reference - Precache::PreCacheString New page: {{Function |Version=4 |Name=PreCacheString( <string> ) |Module=Precache |Available |Summary=Precaches the given string. It must be called before any wait statements in the level scri... current
- 02:3102:31, 1 August 2009 diff hist +352 N Call of Duty 4: Scripting Reference - Precache::PreCacheTurret New page: {{Function |Version=4 |Name=PreCacheTurret( <turretInfo> ) |Module=Precache |Available |Summary=Precaches the weapon info structure for the turret. Must be called before any wait sta... current
- 02:3102:31, 1 August 2009 diff hist +388 N Call of Duty 4: Scripting Reference - Precache::PrecacheVehicle New page: {{Function |Version=4 |Name=PrecacheVehicle( <vehicleInfo> ) |Module=Precache |Available=SP Only |Summary=Precaches the weapon info structure for the turret on the vehicle. Must be c... current
- 02:3102:31, 1 August 2009 diff hist +693 N Call of Duty 4: Scripting Reference - Precache::Scr TableLookupIString New page: {{Function |Version=4 |Name=Scr_TableLookupIString( <filename>, <search column num>, <search value>, <return value column num> ) |Module=Precache |Available |Summar... current
- 02:3002:30, 1 August 2009 diff hist +661 N Call of Duty 4: Scripting Reference - Precache::TableLookup New page: {{Function |Version=4 |Name=TableLookup( <filename>, <search column num>, <search value>, <return value column num> ) |Module=Precache |Available |Summary=look up a... current
- 02:3002:30, 1 August 2009 diff hist +755 N Call of Duty 4: Scripting Reference - Objective::Objective Add New page: {{Function |Version=4 |Name=Objective_Add( <objective_number>, <state>, <text>, <position>, <iconshader> ) |Module=Objective |Available |Summary=Adds a new ob... current
- 02:2902:29, 1 August 2009 diff hist +772 N Call of Duty 4: Scripting Reference - Objective::Objective AdditionalCurrent New page: {{Function |Version=4 |Name=Objective_AdditionalCurrent( <objective_index>, <objective_index>, ... ) |Module=Objective |Available=SP Only |Summary=Add additional objective(s) t... current
- 02:2902:29, 1 August 2009 diff hist +538 N Call of Duty 4: Scripting Reference - Objective::Objective AdditionalPosition New page: {{Function |Version=4 |Name=Objective_AdditionalPosition( <objective_index>, <position_index>, <position> ) |Module=Objective |Available=SP Only |Summary=Set an additiona... current
- 02:2902:29, 1 August 2009 diff hist +629 N Call of Duty 4: Scripting Reference - Objective::Objective Current New page: {{Function |Version=4 |Name=Objective_Current( <objective_index>, <objective_index>, ... ) |Module=Objective |Available |Summary=Set which objective(s) are currently being done... current
- 02:2902:29, 1 August 2009 diff hist +267 N Call of Duty 4: Scripting Reference - Objective::Objective Delete New page: {{Function |Version=4 |Name=Objective_Delete( <objective_number> ) |Module=Objective |Available |Summary=Removes an objective |Call_on |Example=<pre>Objective_Delete( 1 );</pre> |Req... current
- 02:2902:29, 1 August 2009 diff hist +340 N Call of Duty 4: Scripting Reference - Objective::Objective Icon New page: {{Function |Version=4 |Name=Objective_Icon( <objective_number>, <icon> ) |Module=Objective |Available |Summary=Set the compass icon for an objective |Call_on |Example=<pre>Obj... current
- 02:2902:29, 1 August 2009 diff hist +340 N Call of Duty 4: Scripting Reference - Objective::Objective OnEntity New page: {{Function |Version=4 |Name=Objective_OnEntity( <objective_number>, <entity> ) |Module=Objective |Available=MP Only |Summary=Sets the objective to get its position from an enti... current
- 02:2802:28, 1 August 2009 diff hist +507 N Call of Duty 4: Scripting Reference - Objective::Objective Position New page: {{Function |Version=4 |Name=Objective_Position( <objective_number>, <position> ) |Module=Objective |Available |Summary=Set the position of an objective, assumed to be the zerot... current
- 02:2802:28, 1 August 2009 diff hist +283 N Call of Duty 4: Scripting Reference - Objective::Objective Ring New page: {{Function |Version=4 |Name=Objective_Ring( <objective_index>) |Module=Objective |Available=SP Only |Summary=Triggers a ring on the objective. |Call_on |Example=<pre>Objective_Ring( ... current
- 02:2802:28, 1 August 2009 diff hist +449 N Call of Duty 4: Scripting Reference - Objective::Objective State New page: {{Function |Version=4 |Name=Objective_State( <objective_number>, <state> ) |Module=Objective |Available |Summary=Sets the state of an objective |Call_on |Example=<pre>Objective... current
- 02:2702:27, 1 August 2009 diff hist +439 N Call of Duty 4: Scripting Reference - Objective::Objective String New page: {{Function |Version=4 |Name=Objective_String( <objective_number>, <string>, ... ) |Module=Objective |Available=SP Only |Summary=Set the description string for an objective |Ca... current
- 02:2702:27, 1 August 2009 diff hist +508 N Call of Duty 4: Scripting Reference - Objective::Objective String NoMessage New page: {{Function |Version=4 |Name=Objective_String_NoMessage( <objective_number>, <string>, ... ) |Module=Objective |Available=SP Only |Summary=Set the description string for an obje... current
- 02:2702:27, 1 August 2009 diff hist +456 N Call of Duty 4: Scripting Reference - Objective::Objective Team New page: {{Function |Version=4 |Name=Objective_Team( <objective_number>, <team> ) |Module=Objective |Available=MP Only |Summary=Sets the team that the objective is for. Allows having di... current
- 02:2702:27, 1 August 2009 diff hist +193 N Call of Duty 4: Scripting Reference - Objective::PingPlayer New page: {{Function |Version=4 |Name=PingPlayer() |Module=Objective |Available=MP Only |Summary=Flashes a player on their teammate's compasses |Call_on=A player |Example=<pre>self PingPlayer();</pr... current
- 02:2702:27, 1 August 2009 diff hist +291 N Call of Duty 4: Scripting Reference - Objective::RefreshHudAmmoCounter New page: {{Function |Version=4 |Name=RefreshHudAmmoCounter() |Module=Objective |Available=SP Only |Summary=Causes the HUD ammo counter and actionslots to show, as if the player had fired or otherwi... current
- 02:2702:27, 1 August 2009 diff hist +263 N Call of Duty 4: Scripting Reference - Objective::RefreshHudCompass New page: {{Function |Version=4 |Name=RefreshHudCompass() |Module=Objective |Available=SP Only |Summary=Causes the HUD compass to show, as if the player had moved or otherwise caused it to show. Wi... current
- 02:2702:27, 1 August 2009 diff hist +203 N Call of Duty 4: Scripting Reference - Objective::Target ClearReticleLockOn New page: {{Function |Version=4 |Name=Target_ClearReticleLockOn() |Module=Objective |Available=SP Only |Summary=Cancels any lock-on sequence on the hud. |Call_on |Example=<pre>Target_ClearReticleLoc... current
- 02:2602:26, 1 August 2009 diff hist +204 N Call of Duty 4: Scripting Reference - Objective::Target GetArray New page: {{Function |Version=4 |Name=Target_GetArray() |Module=Objective |Available=SP Only |Summary=Gets an array of entities that are set as targets |Call_on |Example=<pre>mytargets = Target_GetA... current
- 02:2602:26, 1 August 2009 diff hist +576 N Call of Duty 4: Scripting Reference - Objective::Target IsInCircle New page: {{Function |Version=4 |Name=Target_IsInCircle( <target entity>, <player>, <fov>, <radius> ) |Module=Objective |Available=SP Only |Summary=Returns whether a target i... current
- 02:2602:26, 1 August 2009 diff hist +641 N Call of Duty 4: Scripting Reference - Objective::Target IsInRect New page: {{Function |Version=4 |Name=Target_IsInRect( <target entity>, <player>, <fov>, <halfwidth>, <halfheight> ) |Module=Objective |Available=SP Only |Summary=Retur... current
- 02:2602:26, 1 August 2009 diff hist +285 N Call of Duty 4: Scripting Reference - Objective::Target IsTarget New page: {{Function |Version=4 |Name=Target_IsTarget( <entity> ) |Module=Objective |Available=SP Only |Summary=Returns whether an entity has been marked as a target |Call_on |Example=<pre>if ... current
- 02:2602:26, 1 August 2009 diff hist +263 N Call of Duty 4: Scripting Reference - Objective::Target Remove New page: {{Function |Version=4 |Name=Target_Remove( <target entity> ) |Module=Objective |Available=SP Only |Summary=Removes a target |Call_on |Example=<pre>Target_Remove( enemy_chopper );</pr... current
- 02:2602:26, 1 August 2009 diff hist +399 N Call of Duty 4: Scripting Reference - Objective::Target Set New page: {{Function |Version=4 |Name=Target_Set( <target entity>, <target offset> ) |Module=Objective |Available=SP Only |Summary=Adds a new target to draw on the hud |Call_on |Example=... current
- 02:2602:26, 1 August 2009 diff hist +379 N Call of Duty 4: Scripting Reference - Objective::Target SetAttackMode New page: {{Function |Version=4 |Name=Target_SetAttackMode( <target entity>, <mode name> ) |Module=Objective |Available=SP Only |Summary=Sets how missiles and rockets should approach the... current
- 02:2502:25, 1 August 2009 diff hist +418 N Call of Duty 4: Scripting Reference - Objective::Target SetJavelinOnly New page: {{Function |Version=4 |Name=Target_SetJavelinOnly( <target entity>, <true/false> ) |Module=Objective |Available=SP Only |Summary=Target will only draw on player's hud when they... current
- 02:2502:25, 1 August 2009 diff hist +510 N Call of Duty 4: Scripting Reference - Objective::Target SetOffscreenShader New page: {{Function |Version=4 |Name=Target_SetOffscreenShader( <target entity>, <materialname> ) |Module=Objective |Available=SP Only |Summary=Sets the material that is used when a tar... current
- 02:2502:25, 1 August 2009 diff hist +458 N Call of Duty 4: Scripting Reference - Objective::Target SetShader New page: {{Function |Version=4 |Name=Target_SetShader( <target entity>, <materialname> ) |Module=Objective |Available=SP Only |Summary=Changes the material of a target. The target must... current
- 02:2502:25, 1 August 2009 diff hist +481 N Call of Duty 4: Scripting Reference - Objective::Target StartReticleLockOn New page: {{Function |Version=4 |Name=Target_StartReticleLockOn( <target entity>, <duration> ) |Module=Objective |Available=SP Only |Summary=Begins the lock-on sequence for the target on... current
- 02:2402:24, 1 August 2009 diff hist +325 N Call of Duty 4: Scripting Reference - Motion::DevAddPitch New page: {{Function |Version=4 |Name=DevAddPitch( <pitch angle> ) |Module=Motion |Available |Summary=Add pitch in local space. This is just for development purposes and doesn't interpolate |...
- 02:2402:24, 1 August 2009 diff hist +319 N Call of Duty 4: Scripting Reference - Motion::DevAddRoll New page: {{Function |Version=4 |Name=DevAddRoll( <roll angle> ) |Module=Motion |Available |Summary=Add yaw in local space. This is just for development purposes and doesn't interpolate |Call...
- 02:2402:24, 1 August 2009 diff hist +315 N Call of Duty 4: Scripting Reference - Motion::DevAddYaw New page: {{Function |Version=4 |Name=DevAddYaw( <yaw angle> ) |Module=Motion |Available |Summary=Add yaw in local space. This is just for development purposes and doesn't interpolate |Call_o...
- 02:2402:24, 1 August 2009 diff hist +398 N Call of Duty 4: Scripting Reference - Motion::MoveGravity New page: {{Function |Version=4 |Name=MoveGravity( <initial velocity>, <time> ) |Module=Motion |Available |Summary=Fling this entity. |Call_on=script_model, script_origin or script_brush... current
- 02:2402:24, 1 August 2009 diff hist +532 N Call of Duty 4: Scripting Reference - Motion::MoveTo New page: {{Function |Version=4 |Name=MoveTo( <point>, <time>, <acceleration time>, <deceleration time> ) |Module=Motion |Available |Summary=Move this entity to the given poi... current
- 02:2402:24, 1 August 2009 diff hist +612 N Call of Duty 4: Scripting Reference - Motion::MoveX New page: {{Function |Version=4 |Name=MoveX( <xvalue>, <time>, <acceleration time>, <deceleration time> ) |Module=Motion |Available |Summary=Move this entity to the given wor... current
- 02:2302:23, 1 August 2009 diff hist +606 N Call of Duty 4: Scripting Reference - Motion::MoveY New page: {{Function |Version=4 |Name=MoveY( <yvalue>, <time>, <acceleration time>, <deceleration time> ) |Module=Motion |Available |Summary=move this entity to the given wor... current
- 02:2302:23, 1 August 2009 diff hist +566 N Call of Duty 4: Scripting Reference - Motion::MoveZ New page: {{Function |Version=4 |Name=MoveZ( <zvalue>, <time>, <acceleration time>, <deceleration time> ) |Module=Motion |Available |Summary=Move this entity to the given wor... current
- 02:2302:23, 1 August 2009 diff hist +208 N Call of Duty 4: Scripting Reference - Motion::NotSolid New page: {{Function |Version=4 |Name=NotSolid() |Module=Motion |Available |Summary=Unsets the solid flag, so that this object is no longer collidable. |Call_on=script_brushmodel |Example=<pre>self ... current
- 02:2302:23, 1 August 2009 diff hist +475 N Call of Duty 4: Scripting Reference - Motion::PhysicsLaunch New page: {{Function |Version=4 |Name=PhysicsLaunch( <contact_point>, <initial_force> ) |Module=Motion |Available=SP Only |Summary=Permanently turn this entity into a physics object with... current
- 02:2302:23, 1 August 2009 diff hist +593 N Call of Duty 4: Scripting Reference - Motion::RotatePitch New page: {{Function |Version=4 |Name=RotatePitch( <pitch angle>, <time>, <acceleration time>, <deceleration time> ) |Module=Motion |Available |Summary=Rotate this entity to ... current
- 02:2302:23, 1 August 2009 diff hist +620 N Call of Duty 4: Scripting Reference - Motion::RotateRoll New page: {{Function |Version=4 |Name=RotateRoll( <roll angle>, <time>, <acceleration time>, <deceleration time> ) |Module=Motion |Available |Summary=Rotate this entity to th... current
- 02:2302:23, 1 August 2009 diff hist +630 N Call of Duty 4: Scripting Reference - Motion::RotateTo New page: {{Function |Version=4 |Name=RotateTo( <angles>, <time>, <acceleration time>, <deceleration time> ) |Module=Motion |Available |Summary=Rotate this entity to the give... current
- 02:2202:22, 1 August 2009 diff hist +621 N Call of Duty 4: Scripting Reference - Motion::RotateVelocity New page: {{Function |Version=4 |Name=RotateVelocity( <rotate velocity>, <time>, <acceleration time>, <deceleration time> ) |Module=Motion |Available |Summary=Rotate this ent... current
- 02:2202:22, 1 August 2009 diff hist +527 N Call of Duty 4: Scripting Reference - Motion::RotateYaw New page: {{Function |Version=4 |Name=RotateYaw( <yaw angle>, <time>, <acceleration time>, <deceleration time> ) |Module=Motion |Available |Summary=Rotate this entity to the ... current
- 02:2202:22, 1 August 2009 diff hist +189 N Call of Duty 4: Scripting Reference - Motion::Solid New page: {{Function |Version=4 |Name=Solid() |Module=Motion |Available |Summary=Set the solid flag, so that this object is collidable. |Call_on=script_brushmodel |Example=<pre>self Solid();</pre> }... current
- 02:2202:22, 1 August 2009 diff hist +571 N Call of Duty 4: Scripting Reference - Motion::Vibrate New page: {{Function |Version=4 |Name=Vibrate( <direction vector>, <amplitude>, <period>, <time> ) |Module=Motion |Available=SP Only |Summary=Causes a script entity to vibrat... current
- 02:2102:21, 1 August 2009 diff hist +457 N Call of Duty 4: Scripting Reference - Level::ChangeLevel New page: {{Function |Version=4 |Name=ChangeLevel( <mapname>, <persistent>, <exitTime> ) |Module=Level |Available=SP Only |Summary=Changes to the new level |Call_on |Example=<pre>C... current
- 02:2102:21, 1 August 2009 diff hist +334 N Call of Duty 4: Scripting Reference - Level::Cinematic New page: {{Function |Version=4 |Name=Cinematic( <cinematic name>, <exitTime> ) |Module=Level |Available=SP Only |Summary=Play the given cinematic |Call_on |Example=<pre>Cinematic( "cod_... current
- 02:2102:21, 1 August 2009 diff hist +286 N Call of Duty 4: Scripting Reference - Level::CinematicInGame New page: {{Function |Version=4 |Name=CinematicInGame( <cinematic name> ) |Module=Level |Available=SP Only |Summary=Play the given cinematic without blocking the level |Call_on |Example=<pre>C... current
- 02:2102:21, 1 August 2009 diff hist +308 N Call of Duty 4: Scripting Reference - Level::CinematicInGameLoop New page: {{Function |Version=4 |Name=CinematicInGameLoop( <cinematic name> ) |Module=Level |Available=SP Only |Summary=Play the given cinematic in a loop, without blocking (deprecated) |Call_... current
- 02:2002:20, 1 August 2009 diff hist +345 N Call of Duty 4: Scripting Reference - Level::CinematicInGameLoopFromFastfile New page: {{Function |Version=4 |Name=CinematicInGameLoopFromFastfile( <cinematic name> ) |Module=Level |Available=SP Only |Summary=Play the given cinematic, which is already loaded, in a loop... current
- 02:2002:20, 1 August 2009 diff hist +311 N Call of Duty 4: Scripting Reference - Level::CinematicInGameLoopResident New page: {{Function |Version=4 |Name=CinematicInGameLoopResident( <cinematic name> ) |Module=Level |Available=SP Only |Summary=Play the given cinematic in a loop, without blocking |Call_on |E... current
- 02:2002:20, 1 August 2009 diff hist +293 N Call of Duty 4: Scripting Reference - Level::CinematicInGameSync New page: {{Function |Version=4 |Name=CinematicInGameSync( <cinematic name> ) |Module=Level |Available=SP Only |Summary=Play the given cinematic, blocking until it starts |Call_on |Example=<pr... current
- 02:2002:20, 1 August 2009 diff hist +439 N Call of Duty 4: Scripting Reference - Level::ClearLocalizedStrings New page: {{Function |Version=4 |Name=ClearLocalizedStrings( <firstString> ) |Module=Level |Available |Summary=Clear all of the localized strings. This is useful if you are frequently changin... current
- 02:2002:20, 1 August 2009 diff hist +351 N Call of Duty 4: Scripting Reference - Level::DrawCompassFriendlies New page: {{Function |Version=4 |Name=DrawCompassFriendlies( <drawcompassfriendlies> ) |Module=Level |Available=SP Only |Summary=Set whether friendlies are shown on the compass |Call_on |Examp... current
- 02:2002:20, 1 August 2009 diff hist +437 N Call of Duty 4: Scripting Reference - Level::Earthquake New page: {{Function |Version=4 |Name=Earthquake( <scale>, <duration>, <source>, <radius> ) |Module=Level |Available |Summary=Create an earthquake at the given point |Call_on... current
- 02:1902:19, 1 August 2009 diff hist +276 N Call of Duty 4: Scripting Reference - Level::ExitLevel New page: {{Function |Version=4 |Name=ExitLevel( <save persistent> ) |Module=Level |Available=MP Only |Summary=exits the current level |Call_on |Example=<pre>ExitLevel( false );</pre> |Require... current
- 02:1902:19, 1 August 2009 diff hist +172 N Call of Duty 4: Scripting Reference - Level::GetAllNodes New page: {{Function |Version=4 |Name=GetAllNodes() |Module=Level |Available=SP Only |Summary=Gets all of the nodes in a level |Call_on |Example=<pre> nodes = GetAllNodes();</pre> }} current
- 02:1902:19, 1 August 2009 diff hist +193 N Call of Duty 4: Scripting Reference - Level::GetAllVehicleNodes New page: {{Function |Version=4 |Name=GetAllVehicleNodes() |Module=Level |Available=SP Only |Summary=Gets all of the vehicle nodes in a level |Call_on |Example=<pre>nodes = GetAllVehicleNodes();</pr... current
- 02:1902:19, 1 August 2009 diff hist +259 N Call of Duty 4: Scripting Reference - Level::GetArrayKeys New page: {{Function |Version=4 |Name=GetArrayKeys( <array> ) |Module=Level |Available |Summary=Returns an array consisting of the keys of the input array. |Call_on |Example=<pre>result = GetA... current
- 02:1902:19, 1 August 2009 diff hist +132 N Call of Duty 4: Scripting Reference - Level::GetBrushModelCenter New page: {{Function |Version=4 |Name=GetBrushModelCenter() |Module=Level |Available |Summary=deprecated - Use GetOrigin |Call_on |Example }} current
- 02:1802:18, 1 August 2009 diff hist +231 N Call of Duty 4: Scripting Reference - Level::GetDiffuculty New page: {{Function |Version=4 |Name=GetDiffuculty() |Module=Level |Available=SP Only |Summary=Gets the game difficulty - can return values of "easy", "medium", "difficult" and "fu". |Call_on |Exam... current
- 02:1802:18, 1 August 2009 diff hist +207 N Call of Duty 4: Scripting Reference - Level::GetMapSunDirection New page: {{Function |Version=4 |Name=GetMapSunDirection() |Module=Level |Available=SP Only |Summary=Returns the BSP's default sun direction. |Call_on |Example=<pre>level.defaultSunDir = GetMapSunDi... current
- 02:1702:17, 1 August 2009 diff hist +281 N Call of Duty 4: Scripting Reference - Level::GetMapSunLight New page: {{Function |Version=4 |Name=GetMapSunLight() |Module=Level |Available=SP Only |Summary=Returns the default sun color for a level in an array of size 3. Index 0 is red, index 1 is green, a... current
- 02:1702:17, 1 August 2009 diff hist +313 N Call of Duty 4: Scripting Reference - Level::GetNode New page: {{Function |Version=4 |Name=GetNode( <name>, <key> ) |Module=Level |Available=SP Only |Summary=Gets a node with the given name, key pair |Call_on |Example=<pre>node = GetNode( ... current
- 02:1702:17, 1 August 2009 diff hist +340 N Call of Duty 4: Scripting Reference - Level::GetNodeArray New page: {{Function |Version=4 |Name=GetNodeArray( <name>, <key> ) |Module=Level |Available=SP Only |Summary=Gets an array of nodes that have the given name, key pair |Call_on |Example=... current
- 02:1702:17, 1 August 2009 diff hist +164 N Call of Duty 4: Scripting Reference - Level::GetNorthYaw New page: {{Function |Version=4 |Name=GetNorthYaw() |Module=Level |Available |Summary=Returns the yaw value of North |Call_on |Example=<pre>northYaw = GetNorthYaw();</pre> }} current
- 02:1702:17, 1 August 2009 diff hist +202 N Call of Duty 4: Scripting Reference - Level::GetNumVehicles New page: {{Function |Version=4 |Name=GetNumVehicles() |Module=Level |Available=SP Only |Summary=Gets the number of vehicles entities in the level |Call_on |Example=<pre> vehicleCount = GetNumVehicl... current
- 02:1602:16, 1 August 2009 diff hist +234 N Call of Duty 4: Scripting Reference - Level::GetReflectionLocs New page: {{Function |Version=4 |Name=GetReflectionLocs() |Module=Level |Available=SP Only |Summary=Gets array of the locations of all of the reflection_probes in the level |Call_on |Example=<pre> r... current
- 02:1602:16, 1 August 2009 diff hist +178 N Call of Duty 4: Scripting Reference - Level::GetStartTime New page: {{Function |Version=4 |Name=GetStartTime() |Module=Level |Available=MP Only |Summary=Returns the start time for the current round. |Call_on |Example=<pre>GetStartTime();</pre> }} current
- 02:1602:16, 1 August 2009 diff hist +200 N Call of Duty 4: Scripting Reference - Level::GetTime New page: {{Function |Version=4 |Name=GetTime() |Module=Level |Available |Summary=Gets the level time in Milliseconds from the start of the level. |Call_on |Example=<pre>nextNodeTime = GetTime() + 5... current
- 02:1602:16, 1 August 2009 diff hist +160 N Call of Duty 4: Scripting Reference - Level::GetTimeScale New page: {{Function |Version=4 |Name=GetTimeScale() |Module=Level |Available=SP Only |Summary=gets the current timescale. |Call_on |Example=<pre>GetTimeScale();</pre> }} current
- 02:1602:16, 1 August 2009 diff hist +361 N Call of Duty 4: Scripting Reference - Level::GetVehicleNode New page: {{Function |Version=4 |Name=GetVehicleNode( <name>, <key> ) |Module=Level |Available=SP Only |Summary=Gets a vehicle node with the given name, key pair |Call_on |Example=<pre>n... current
- 02:1602:16, 1 August 2009 diff hist +388 N Call of Duty 4: Scripting Reference - Level::GetVehicleNodeArray New page: {{Function |Version=4 |Name=GetVehicleNodeArray( <name>, <key> ) |Module=Level |Available=SP Only |Summary=Gets an array of vehicle nodes that have the given name, key pair |Ca... current
- 02:1502:15, 1 August 2009 diff hist +178 N Call of Duty 4: Scripting Reference - Level::IsCinematicPlaying New page: {{Function |Version=4 |Name=IsCinematicPlaying() |Module=Level |Available=SP Only |Summary=checks if a cinematic is playing. |Call_on |Example=<pre>IsCinematicPlaying();</pre> }} current
- 02:1502:15, 1 August 2009 diff hist +200 N Call of Duty 4: Scripting Reference - Level::IsSplitScreen New page: {{Function |Version=4 |Name=IsSplitScreen() |Module=Level |Available=MP Only |Summary=Returns true if the game is a splitscreen game |Call_on |Example=<pre>level.splitscreen = IsSplitScree... current
- 02:1502:15, 1 August 2009 diff hist +229 N Call of Duty 4: Scripting Reference - Level::IsValidGametype New page: {{Function |Version=4 |Name=IsValidGametype( <game type> ) |Module=Level |Available=MP Only |Summary=Returns true if the string is a valid game type |Call_on |Example |Required_args=... current
- 02:1502:15, 1 August 2009 diff hist +664 N Call of Duty 4: Scripting Reference - Level::LerpSunDirection New page: {{Function |Version=4 |Name=LerpSunDirection( <dir to sun now>, <dir to sun at end>, <lerp time> ) |Module=Level |Available=SP Only |Summary=Overrides the sun direction f... current
- 02:1402:14, 1 August 2009 diff hist +285 N Call of Duty 4: Scripting Reference - Level::Map New page: {{Function |Version=4 |Name=Map( <map name>, <save persistent> ) |Module=Level |Available=MP Only |Summary=Loads a new map |Call_on |Example |Required_args= # <map name> ... current
- 02:1402:14, 1 August 2009 diff hist +272 N Call of Duty 4: Scripting Reference - Level::Map Restart New page: {{Function |Version=4 |Name=Map_Restart( <save persistent> ) |Module=Level |Available=MP Only |Summary=Restarts the map |Call_on |Example=<pre>Map_Restart( true );</pre> |Required_ar... current
- 02:1402:14, 1 August 2009 diff hist +238 N Call of Duty 4: Scripting Reference - Level::MapExists New page: {{Function |Version=4 |Name=MapExists( <map name> ) |Module=Level |Available=MP Only |Summary=Returns true if the map with the given name exists on the server |Call_on |Example |Requ... current
- 02:1302:13, 1 August 2009 diff hist +181 N Call of Duty 4: Scripting Reference - Level::MissionFailed New page: {{Function |Version=4 |Name=MissionFailed() |Module=Level |Available=SP Only |Summary=Does the same thing as the player being killed |Call_on |Example=<pre>MissionFailed();</pre> }} current
- 02:1302:13, 1 August 2009 diff hist +425 N Call of Duty 4: Scripting Reference - Level::MissionSuccess New page: {{Function |Version=4 |Name=MissionSuccess( <mapname>, <persistent> ) |Module=Level |Available=SP Only |Summary=Transitions to a new level via a mission success page |Call_on |... current
- 02:1302:13, 1 August 2009 diff hist +191 N Call of Duty 4: Scripting Reference - Level::ResetSunDirection New page: {{Function |Version=4 |Name=ResetSunDirection() |Module=Level |Available=SP Only |Summary=Restores the map's default sun direction values. |Call_on |Example=<pre>ResetSunDirection();</pre>... current
- 02:1302:13, 1 August 2009 diff hist +178 N Call of Duty 4: Scripting Reference - Level::ResetSunLight New page: {{Function |Version=4 |Name=ResetSunLight() |Module=Level |Available=SP Only |Summary=Restores the map's default sunlight values. |Call_on |Example=<pre>ResetSunLight();</pre> }} current
- 02:1302:13, 1 August 2009 diff hist +390 N Call of Duty 4: Scripting Reference - Level::SetClientNameMode New page: {{Function |Version=4 |Name=SetClientNameMode( <name mode> ) |Module=Level |Available=MP Only |Summary=alters the way that the player name is updated, to prevent cheating by spectato... current
- 02:1302:13, 1 August 2009 diff hist +251 N Call of Duty 4: Scripting Reference - Level::SetCullDist New page: {{Function |Version=4 |Name=SetCullDist( <cull distance> ) |Module=Level |Available=SP Only |Summary=Set the cull distance for a level |Call_on |Example=<pre>SetCullDist( 7200 );</pr... current
- 02:1202:12, 1 August 2009 diff hist +148 N Call of Duty 4: Scripting Reference - Level::SetGameEndTime New page: {{Function |Version=4 |Name=SetGameEndTime() |Module=Level |Available=MP Only |Summary=Sets the time the current match will end |Call_on |Example }} current
- 02:1202:12, 1 August 2009 diff hist +196 N Call of Duty 4: Scripting Reference - Level::SetMapCenter New page: {{Function |Version=4 |Name=SetMapCenter() |Module=Level |Available=MP Only |Summary=Set the center of the map (used by the network code to optimize position data) |Call_on=A position |Ex... current
- 02:1202:12, 1 August 2009 diff hist +813 N Call of Duty 4: Scripting Reference - Level::SetMiniMap New page: {{Function |Version=4 |Name=SetMiniMap( <material name>, <upper-left x>, <upper-left y>, <lower-right x>, <lower-right y> ) |Module=Level |Available |Summary=... current