User contributions for CoDEmanX
Jump to navigation
Jump to search
1 August 2009
- 03:4603:46, 1 August 2009 diff hist +348 N Call of Duty 4: Scripting Reference - Player::GetWeaponAmmoClip New page: {{Function |Version=4 |Name=GetWeaponAmmoClip( <weapon name> ) |Module=Player |Available |Summary=Get the amount of ammo left in the player's weapon's current clip. |Call_on=The play... current
- 03:4503:45, 1 August 2009 diff hist +343 N Call of Duty 4: Scripting Reference - Player::GetWeaponAmmoStock New page: {{Function |Version=4 |Name=GetWeaponAmmoStock( <weapon name> ) |Module=Player |Available |Summary=Get the ammunition stockpile for the given weapon. |Call_on=The player |Example=<pr... current
- 03:4503:45, 1 August 2009 diff hist +267 N Call of Duty 4: Scripting Reference - Player::GetWeaponsList New page: {{Function |Version=4 |Name=GetWeaponsList() |Module=Player |Available=SP Only |Summary=Gets an array of all weapons that the player has. Includes any alt-mode weapons (ex: m203_m4) |Call... current
- 03:4503:45, 1 August 2009 diff hist +248 N Call of Duty 4: Scripting Reference - Player::GetWeaponsListPrimaries New page: {{Function |Version=4 |Name=GetWeaponsListPrimaries() |Module=Player |Available=SP Only |Summary=Gets an array of all primary weapons that the player has. |Call_on=The player |Example=<pre... current
- 03:4503:45, 1 August 2009 diff hist +337 N Call of Duty 4: Scripting Reference - Player::GetWeaponSlotAmmo New page: {{Function |Version=4 |Name=GetWeaponSlotAmmo( <weapon slot> ) |Module=Player |Available |Summary=Gets the ammo count for the weapon in the given slot. |Call_on=The player |Example=<... current
- 03:4403:44, 1 August 2009 diff hist +365 N Call of Duty 4: Scripting Reference - Player::GetWeaponSlotClipAmmo New page: {{Function |Version=4 |Name=GetWeaponSlotClipAmmo( <weapon slot> ) |Module=Player |Available |Summary=Gets the ammunition in the clip for the weapon in the given weapon slot. |Call_o... current
- 03:4403:44, 1 August 2009 diff hist +352 N Call of Duty 4: Scripting Reference - Player::GetWeaponSlotWeapon New page: {{Function |Version=4 |Name=GetWeaponSlotWeapon( <weapon slot> ) |Module=Player |Available |Summary=Gets the name of the weapon in the given weapon slot. |Call_on=The player |Example... current
- 03:4403:44, 1 August 2009 diff hist +310 N Call of Duty 4: Scripting Reference - Player::GiveMaxAmmo New page: {{Function |Version=4 |Name=GiveMaxAmmo( <weapon name> ) |Module=Player |Available |Summary=Set the player's ammunition to the weapon's maximum ammunition |Call_on=The player |Exampl... current
- 03:4403:44, 1 August 2009 diff hist +268 N Call of Duty 4: Scripting Reference - Player::GiveStartAmmo New page: {{Function |Version=4 |Name=GiveStartAmmo( <weapon name> ) |Module=Player |Available |Summary=Set the player's ammunition to the weapon's default starting ammunition |Call_on=The pla... current
- 03:4303:43, 1 August 2009 diff hist +278 N Call of Duty 4: Scripting Reference - Player::GiveWeapon New page: {{Function |Version=4 |Name=GiveWeapon(<weapon name>) |Module=Player |Available |Summary=Give the player a weapon. |Call_on=The player |Example=<pre> level.player giveWeapon("m1garan... current
- 03:4203:42, 1 August 2009 diff hist +261 N Call of Duty 4: Scripting Reference - Player::HasPerk New page: {{Function |Version=4 |Name=HasPerk( <perk name> ) |Module=Player |Available=MP Only |Summary=test if player has a perk |Call_on=A player |Example=<pre>player HasPerk( "specialty_gps... current
- 03:4203:42, 1 August 2009 diff hist +302 N Call of Duty 4: Scripting Reference - Player::HasWeapon New page: {{Function |Version=4 |Name=HasWeapon(<weapon name>) |Module=Player |Available |Summary=Checks whether the player has the given weapon. |Call_on=The player |Example=<pre> if( level.p... current
- 03:4203:42, 1 August 2009 diff hist +197 N Call of Duty 4: Scripting Reference - Player::HideViewModel New page: {{Function |Version=4 |Name=HideViewModel() |Module=Player |Available=SP Only |Summary=Hide the player's current view model. |Call_on=The player |Example=<pre>level.player HideViewModel();... current
- 03:4103:41, 1 August 2009 diff hist +201 N Call of Duty 4: Scripting Reference - Player::IsFiring New page: {{Function |Version=4 |Name=IsFiring |Module=Player |Available=SP Only |Summary=Returns true if the player is currently using a weapon |Call_on=The player |Example=<pre>level.player IsFiri... current
- 03:4103:41, 1 August 2009 diff hist +288 N Call of Duty 4: Scripting Reference - Player::IsLookingAt New page: {{Function |Version=4 |Name=IsLookingAt( <entity> ) |Module=Player |Available |Summary=Returns true if the entity is the same as the player's lookat entity. |Call_on=The player |Exam... current
- 03:4103:41, 1 August 2009 diff hist +202 N Call of Duty 4: Scripting Reference - Player::IsMeleeing New page: {{Function |Version=4 |Name=IsMeleeing() |Module=Player |Available=SP Only |Summary=Returns true if the player is currently meleeing |Call_on=The player |Example=<pre>level.player IsMeleei... current
- 03:4103:41, 1 August 2009 diff hist +190 N Call of Duty 4: Scripting Reference - Player::IsOnGround New page: {{Function |Version=4 |Name=IsOnGround() |Module=Player |Available |Summary=Returns true if the player is on the ground. |Call_on=The player |Example=<pre>if( player IsOnGround() );</pre> ... current
- 03:4103:41, 1 August 2009 diff hist +226 N Call of Duty 4: Scripting Reference - Player::IsThrowingGrenade New page: {{Function |Version=4 |Name=IsThrowingGrenade() |Module=Player |Available=SP Only |Summary=Returns true if the player is currently throwing a grenade |Call_on=The player |Example=<pre>leve... current
- 03:4103:41, 1 August 2009 diff hist +171 N Call of Duty 4: Scripting Reference - Player::MeleeButtonPressed New page: {{Function |Version=4 |Name=MeleeButtonPressed() |Module=Player |Available=MP Only |Summary |Call_on=The player |Example=<pre>if ( self MeleeButtonPressed() ) ...</pre> }} current
- 03:4003:40, 1 August 2009 diff hist +521 N Call of Duty 4: Scripting Reference - Player::NotifyOnCommand New page: {{Function |Version=4 |Name=NotifyOnCommand( <notify>, <command> ) |Module=Player |Available=SP Only |Summary=Whenever the console command processor encounters <command> ... current
- 03:3903:39, 1 August 2009 diff hist +279 N Call of Duty 4: Scripting Reference - Player::OpenMenu New page: {{Function |Version=4 |Name=OpenMenu( <menu> ) |Module=Player |Available |Summary=Open a menu for this player |Call_on=The player |Example=<pre>self OpenMenu( game["menu_weapon_allie... current
- 03:3903:39, 1 August 2009 diff hist +315 N Call of Duty 4: Scripting Reference - Player::OpenMenuNoMouse New page: {{Function |Version=4 |Name=OpenMenuNoMouse(<menu>) |Module=Player |Available |Summary=Open a menu for this player, with no mouse control. |Call_on=The player |Example=<pre>self Open... current
- 03:3903:39, 1 August 2009 diff hist +201 N Call of Duty 4: Scripting Reference - Player::PlayerAds New page: {{Function |Version=4 |Name=PlayerAds() |Module=Player |Available |Summary=Return the player's weapon position fraction. |Call_on=The player |Example=<pre>while( self PlayerAds() > 0.3 ... current
- 03:3803:38, 1 August 2009 diff hist +1,382 N Call of Duty 4: Scripting Reference - Player::PlayerLinkTo New page: {{Function |Version=4 |Name=PlayerLinkTo( <linkto entity>, <tag>, <viewpercentag fraction>, <right arc>, <left arc>, <top arc>, <bottom arc>, <... current
- 03:3803:38, 1 August 2009 diff hist +642 N Call of Duty 4: Scripting Reference - Player::PlayerLinkToAbsolute New page: {{Function |Version=4 |Name=PlayerLinkToAbsolute( <lockto entity>, <tag> ) |Module=Player |Available=SP Only |Summary=Attaches the player to an entity. No view movement is all... current
- 03:3803:38, 1 August 2009 diff hist +1,608 N Call of Duty 4: Scripting Reference - Player::PlayerLinkToDelta New page: {{Function |Version=4 |Name=PlayerLinkToDelta( <linkto entity>, <tag>, <viewpercentag fraction>, <right arc>, <left arc>, <top arc>, <bottom arc>,... current
- 03:3803:38, 1 August 2009 diff hist +695 N Call of Duty 4: Scripting Reference - Player::PlayerSetGroundReferenceEnt New page: {{Function |Version=4 |Name=PlayerSetGroundReferenceEnt( <ground reference entity> ) |Module=Player |Available=SP Only |Summary=The ground entity's rotation will be added onto the pl... current
- 03:3603:36, 1 August 2009 diff hist +32 Call of Duty 4: Scripting Reference - Player::SecondaryOffhandButtonPressed No edit summary current
- 03:3503:35, 1 August 2009 diff hist +226 N Call of Duty 4: Scripting Reference - Player::ResetSpreadOverride New page: {{Function |Version=4 |Name=ResetSpreadOverride() |Module=Player |Available |Summary=Resets the player spread value to the ones of the weapon in use. |Call_on=A player |Example=<pre>level.... current
- 03:3503:35, 1 August 2009 diff hist +852 N Call of Duty 4: Scripting Reference - Player::PlayLocalSound New page: {{Function |Version=4 |Name=PlayLocalSound( <sound name> ) |Module=Player |Available |Summary=Plays a sound locally to the player |Call_on=The player |Example=<pre>players[i] PlayLoc... current
- 03:3403:34, 1 August 2009 diff hist +226 N Call of Duty 4: Scripting Reference - Player::SecondaryOffhandButtonPressed New page: {{Function |Version=4 |Name=ResetSpreadOverride() |Module=Player |Available |Summary=Resets the player spread value to the ones of the weapon in use. |Call_on=A player |Example=<pre>level....
- 03:3303:33, 1 August 2009 diff hist +854 N Call of Duty 4: Scripting Reference - Player::SetActionSlot New page: {{Function |Version=4 |Name=SetActionSlot( <slot #>, <option name>, <extra parameter> ) |Module=Player |Available |Summary=Sets the option to perform when the player exec... current
- 03:3303:33, 1 August 2009 diff hist +350 N Call of Duty 4: Scripting Reference - Player::SetAutoPickup New page: {{Function |Version=4 |Name=SetAutoPickup( <auto pickup> ) |Module=Player |Available=SP Only |Summary=Sets whether the player will automatically pick up pickups. |Call_on=The player ... current
- 03:3203:32, 1 August 2009 diff hist +642 N Call of Duty 4: Scripting Reference - Player::SetChannelVolumes New page: {{Function |Version=4 |Name=SetChannelVolumes( <priority>, <shock name>, <fade time> ) |Module=Player |Available |Summary=Set the channel volumes for the player (a way of... current
- 03:3203:32, 1 August 2009 diff hist +404 N Call of Duty 4: Scripting Reference - Player::SetClientDvar New page: {{Function |Version=4 |Name=SetClientDvar( <dvarName>, <value> ) |Module=Player |Available |Summary=Set the values of dvars which are specific to each client. |Call_on=The play... current
- 03:3203:32, 1 August 2009 diff hist +473 N Call of Duty 4: Scripting Reference - Player::SetClientDvars New page: {{Function |Version=4 |Name=SetClientDvars( <dvarName>, <value>, <dvarName>, <value>, etc. ) |Module=Player |Available |Summary=Set the values of a list of dvars wh... current
- 03:3203:32, 1 August 2009 diff hist +927 N Call of Duty 4: Scripting Reference - Player::SetDepthOfField New page: {{Function |Version=4 |Name=SetDepthOfField( <near start>, <near end>, <far start>, <far end>, <near blur>, <far blur> ) |Module=Player |Available |Summ... current
- 03:3203:32, 1 August 2009 diff hist +872 N Call of Duty 4: Scripting Reference - Player::SetEq New page: {{Function |Version=4 |Name=SetEq( <channel>, <eqIndex>, <band>, <filter type>, <gain>, <frequency>, <q> ) |Module=Player |Available=SP Only |Summ... current
- 03:3203:32, 1 August 2009 diff hist +554 N Call of Duty 4: Scripting Reference - Player::SetEqLerp New page: {{Function |Version=4 |Name=SetEqLerp( <eqLerp> <eqIndex> ) |Module=Player |Available=SP Only |Summary=Set the blend amount for the specified eqIndex, for eqIndex 0 if none is ... current
- 03:3203:32, 1 August 2009 diff hist +289 N Call of Duty 4: Scripting Reference - Player::SetMoveSpeedScale New page: {{Function |Version=4 |Name=SetMoveSpeedScale( <scale> ) |Module=Player |Available |Summary=Scales player movement speed by this amount |Call_on=A Player Entity |Example=<pre>self S... current
- 03:3203:32, 1 August 2009 diff hist +309 N Call of Duty 4: Scripting Reference - Player::SetOffhandSecondaryClass New page: {{Function |Version=4 |Name=SetOffhandSecondaryClass(<name>) |Module=Player |Available |Summary=Set whether player can use smoke grenades or flashbangs. |Call_on=The player |Example=... current
- 03:3103:31, 1 August 2009 diff hist +277 N Call of Duty 4: Scripting Reference - Player::SetOrigin New page: {{Function |Version=4 |Name=SetOrigin( <player origin> ) |Module=Player |Available |Summary=Set the player's origin |Call_on=The player |Example=<pre> level.player SetOrigin( pltruck... current
- 03:3103:31, 1 August 2009 diff hist +258 N Call of Duty 4: Scripting Reference - Player::SetPerk New page: {{Function |Version=4 |Name=SetPerk( <perk name> ) |Module=Player |Available=MP Only |Summary=give the specified perk |Call_on=A player |Example=<pre>player SetPerk( "specialty_gpsja... current
- 03:3103:31, 1 August 2009 diff hist +288 N Call of Duty 4: Scripting Reference - Player::SetPlayerAngles New page: {{Function |Version=4 |Name=SetPlayerAngles( <player angles> ) |Module=Player |Available |Summary=Set the player's angles |Call_on=The player |Example=<pre> level.player SetPlayerAng... current
- 03:3103:31, 1 August 2009 diff hist +741 N Call of Duty 4: Scripting Reference - Player::SetReverb New page: {{Function |Version=4 |Name=SetReverb( <priority>, <room type>, <dry level>, <wet level>, <fade time> ) |Module=Player |Available |Summary=Set the sound rever... current
- 03:3103:31, 1 August 2009 diff hist +378 N Call of Duty 4: Scripting Reference - Player::SetSpreadOverride New page: {{Function |Version=4 |Name=SetSpreadOverride( <player spread> ) |Module=Player |Available |Summary=Sets the player fixed spread value |Call_on=A player |Example=<pre>level.player Se... current
- 03:3103:31, 1 August 2009 diff hist +271 N Call of Duty 4: Scripting Reference - Player::SetStance New page: {{Function |Version=4 |Name=SetStance() |Module=Player |Available=SP Only |Summary=Sets the stance of the player. It only works for the player. Possible values are 'crouch', 'prone' and 's... current
- 03:3103:31, 1 August 2009 diff hist +294 N Call of Duty 4: Scripting Reference - Player::SetVelocity New page: {{Function |Version=4 |Name=SetVelocity( <player origin> ) |Module=Player |Available=SP Only |Summary=Set the player's velocity |Call_on=The player |Example=<pre> level.player SetVel... current
- 03:3103:31, 1 August 2009 diff hist +298 N Call of Duty 4: Scripting Reference - Player::SetViewModel New page: {{Function |Version=4 |Name=SetViewModel( <viewmodel name> ) |Module=Player |Available |Summary=Set the player's current view model. |Call_on=The player |Example=<pre>self SetViewMod... current
- 03:3003:30, 1 August 2009 diff hist +484 N Call of Duty 4: Scripting Reference - Player::SetViewModelDepthOfField New page: {{Function |Version=4 |Name=SetViewModelDepthOfField( <start>, <end> ) |Module=Player |Available |Summary=Set the depth of field values for the player's viewmodel when at hip. ... current
- 03:3003:30, 1 August 2009 diff hist +416 N Call of Duty 4: Scripting Reference - Player::SetWeaponAmmoClip New page: {{Function |Version=4 |Name=SetWeaponAmmoClip( <weapon name>, <ammunition> ) |Module=Player |Available |Summary=Set the weapon clip ammunition for the given weapon. |Call_on=Th... current
- 03:3003:30, 1 August 2009 diff hist +422 N Call of Duty 4: Scripting Reference - Player::SetWeaponAmmoStock New page: {{Function |Version=4 |Name=SetWeaponAmmoStock( <weapon name>, <ammunition> ) |Module=Player |Available |Summary=Set the ammunition stockpile for the given weapon. |Call_on=The... current
- 03:2903:29, 1 August 2009 diff hist +408 N Call of Duty 4: Scripting Reference - Player::SetWeaponClipAmmo New page: {{Function |Version=4 |Name=SetWeaponClipAmmo( <weapon name>, <ammunition> ) |Module=Player |Available |Summary=Set the weapon clip ammunition for the given weapon. |Call_on=Th... current
- 03:2903:29, 1 August 2009 diff hist +411 N Call of Duty 4: Scripting Reference - Player::SetWeaponSlotAmmo New page: {{Function |Version=4 |Name=SetWeaponSlotAmmo( <weapon slot>, <ammo count> ) |Module=Player |Available |Summary=Sets the ammunition for the weapon in the given weapon slot. |Ca... current
- 03:2903:29, 1 August 2009 diff hist +424 N Call of Duty 4: Scripting Reference - Player::SetWeaponSlotClipAmmo New page: {{Function |Version=4 |Name=SetWeaponSlotClipAmmo( <weapon slot>, <ammo count> ) |Module=Player |Available |Summary=Sets the clip ammunition for the weapon in the given weapon ... current
- 03:2803:28, 1 August 2009 diff hist +401 N Call of Duty 4: Scripting Reference - Player::SetWeaponSlotWeapon New page: {{Function |Version=4 |Name=SetWeaponSlotWeapon( <weapon slot> ) |Module=Player |Available |Summary=Sets the the weapon in the given weapon slot. |Call_on=The player |Example=<pre>le... current
- 03:2703:27, 1 August 2009 diff hist +599 N Call of Duty 4: Scripting Reference - Player::ShellShock New page: {{Function |Version=4 |Name=ShellShock( <shellshockname>, <duration>, overrideCheat ) |Module=Player |Available |Summary=Start a shell shock sequence for the player. The shell ... current
- 03:2703:27, 1 August 2009 diff hist +197 N Call of Duty 4: Scripting Reference - Player::ShowViewModel New page: {{Function |Version=4 |Name=ShowViewModel() |Module=Player |Available=SP Only |Summary=Show the player's current view model. |Call_on=The player |Example=<pre>level.player ShowViewModel();... current
- 03:2703:27, 1 August 2009 diff hist +323 N Call of Duty 4: Scripting Reference - Player::StopLocalSound New page: {{Function |Version=4 |Name=StopLocalSound( <sound name> ) |Module=Player |Available |Summary=Stops all instances of a local soundalias running on a player. |Call_on=The player |Exam... current
- 03:2703:27, 1 August 2009 diff hist +192 N Call of Duty 4: Scripting Reference - Player::StopShellShock New page: {{Function |Version=4 |Name=StopShellShock() |Module=Player |Available |Summary=Stop a shell shock sequence for the player |Call_on=<player> |Example=<pre>self StopShellShock();</pre... current
- 03:2703:27, 1 August 2009 diff hist +233 N Call of Duty 4: Scripting Reference - Player::SwitchToOffhand New page: {{Function |Version=4 |Name=SwitchToOffhand( <weapon name> ) |Module=Player |Available |Summary=Switch the player's offhand weapon |Call_on=The player |Example |Required_args= # <... current
- 03:2603:26, 1 August 2009 diff hist +283 N Call of Duty 4: Scripting Reference - Player::SwitchToWeapon New page: {{Function |Version=4 |Name=SwitchToWeapon(<weapon name>) |Module=Player |Available |Summary=Switch to a different weapon |Call_on=The player |Example=<pre> level.player SwitchToWeap... current
- 03:2603:26, 1 August 2009 diff hist +194 N Call of Duty 4: Scripting Reference - Player::TakeAllWeapons New page: {{Function |Version=4 |Name=TakeAllWeapons() |Module=Player |Available |Summary=Remove all the weapons from the player. |Call_on=The player |Example=<pre> level.player TakeAllWeapons();</p... current
- 03:2603:26, 1 August 2009 diff hist +293 N Call of Duty 4: Scripting Reference - Player::TakeWeapon New page: {{Function |Version=4 |Name=TakeWeapon( <weapon name> ) |Module=Player |Available |Summary=Take a weapon from the player. |Call_on=The player |Example=<pre> level.player TakeWeapon( ... current
- 03:2603:26, 1 August 2009 diff hist +280 N Call of Duty 4: Scripting Reference - Player::UnSetPerk New page: {{Function |Version=4 |Name=UnSetPerk( <perk name> ) |Module=Player |Available=MP Only |Summary=takes the specified perk from the player |Call_on=A player |Example=<pre>player UnSetP... current
- 03:2603:26, 1 August 2009 diff hist +332 N Call of Duty 4: Scripting Reference - Player::UploadScore New page: {{Function |Version=4 |Name=UploadScore( <mission>, <score> ) |Module=Player |Available=SP Only |Summary=Upload arcade mode score to XBLIVE leaderboards |Call_on=A Player |Exam... current
- 03:2503:25, 1 August 2009 diff hist +180 N Call of Duty 4: Scripting Reference - Player::UseButtonPressed New page: {{Function |Version=4 |Name=UseButtonPressed() |Module=Player |Available=MP Only |Summary |Call_on=A Player |Example=<pre>if ( self UseButtonPressed() ) ...</pre> |Required_args }} current
- 03:2403:24, 1 August 2009 diff hist +318 N Call of Duty 4: Scripting Reference - Player::UploadTime New page: {{Function |Version=4 |Name=UploadTime( <mission>, <time> ) |Module=Player |Available=SP Only |Summary=Upload a time to XBLIVE leaderboards |Call_on=A Player |Example=<pre>leve... current
- 03:2303:23, 1 August 2009 diff hist +368 N Call of Duty 4: Scripting Reference - Player::ViewKick New page: {{Function |Version=4 |Name=ViewKick( <force>, <source> ) |Module=Player |Available |Summary=Damage the player, and throw the screen around |Call_on=<player> |Example=<pr... current
- 03:2303:23, 1 August 2009 diff hist +352 N Call of Duty 4: Scripting Reference - Player::WeaponLockFinalize New page: {{Function |Version=4 |Name=WeaponLockFinalize( <entity> ) |Module=Player |Available=SP Only |Summary=Locks player's weapon onto an entity. Implies WeaponLockStart(), so this may be... current
- 03:2303:23, 1 August 2009 diff hist +191 N Call of Duty 4: Scripting Reference - Player::WeaponLockFree New page: {{Function |Version=4 |Name=WeaponLockFree() |Module=Player |Available=SP Only |Summary=Clears player's weapon lock. |Call_on=The player |Example=<pre>level.player WeaponLockClear();</pre>... current
- 03:2303:23, 1 August 2009 diff hist +385 N Call of Duty 4: Scripting Reference - Player::WeaponLockNoClearance New page: {{Function |Version=4 |Name=WeaponLockNoClearance( <bool> ) |Module=Player |Available=SP Only |Summary=When set true, the player will be unable to fire their lockon weapon, and will ... current
- 03:2303:23, 1 August 2009 diff hist +373 N Call of Duty 4: Scripting Reference - Player::WeaponLockStart New page: {{Function |Version=4 |Name=WeaponLockStart( <entity> ) |Module=Player |Available=SP Only |Summary=Begins player's weapon lockon sequence (hud effects, etc). Will clear any existing... current
- 03:2303:23, 1 August 2009 diff hist +386 N Call of Duty 4: Scripting Reference - Player::WeaponLockTargetTooClose New page: {{Function |Version=4 |Name=WeaponLockTargetTooClose( <bool> ) |Module=Player |Available=SP Only |Summary=When set true, the player will be unable to fire their lockon weapon, and wi... current
- 03:2103:21, 1 August 2009 diff hist 0 m Call of Duty 4: Scripting Reference - Weapons No edit summary current
- 03:2003:20, 1 August 2009 diff hist +390 N Call of Duty 4: Scripting Reference - Weapons::BulletSpread New page: {{Function |Version=4 |Name=BulletSpread( <start>, <end>, <spread> ) |Module=Weapons |Available=SP Only |Summary=uses spread to return a new end position |Call_on |Exampl... current
- 03:2003:20, 1 August 2009 diff hist +481 N Call of Duty 4: Scripting Reference - Weapons::BulletTracer New page: {{Function |Version=4 |Name=BulletTracer( <start>, <end>, <forceDraw> ) |Module=Weapons |Available=SP Only |Summary=creates a bullet tracer from the start to end point |C... current
- 03:2003:20, 1 August 2009 diff hist +218 N Call of Duty 4: Scripting Reference - Weapons::DisableGrenadeBounce New page: {{Function |Version=4 |Name=DisableGrenadeBounce() |Module=Weapons |Available |Summary=Disallow grenades bouncing off of this entity |Call_on=A damage trigger entity |Example=<pre> self di... current
- 03:1903:19, 1 August 2009 diff hist +225 N Call of Duty 4: Scripting Reference - Weapons::DisableGrenadeTouchDamage New page: {{Function |Version=4 |Name=DisableGrenadeTouchDamage() |Module=Weapons |Available |Summary=Disable grenade damage for damage triggers |Call_on=A damage trigger entity |Example=<pre> self ... current
- 03:1903:19, 1 August 2009 diff hist +214 N Call of Duty 4: Scripting Reference - Weapons::EnableGrenadeBounce New page: {{Function |Version=4 |Name=EnableGrenadeBounce() |Module=Weapons |Available |Summary=Allow grenades to bounce off of this entity |Call_on=A damage trigger entity |Example=<pre> self enabl... current
- 03:1903:19, 1 August 2009 diff hist +222 N Call of Duty 4: Scripting Reference - Weapons::EnableGrenadeTouchDamage New page: {{Function |Version=4 |Name=EnableGrenadeTouchDamage() |Module=Weapons |Available |Summary=enable grenade damage for damage triggers |Call_on=A damage trigger entity |Example=<pre> self En... current
- 03:1903:19, 1 August 2009 diff hist +263 N Call of Duty 4: Scripting Reference - Weapons::GetAmmoCount New page: {{Function |Version=4 |Name=GetAmmoCount( <weapon name> ) |Module=Weapons |Available |Summary=Get the remaining ammo |Call_on=<player> |Example=<pre>GetAmmoCount( "mosin_nagant... current
- 03:1803:18, 1 August 2009 diff hist +296 N Call of Duty 4: Scripting Reference - Weapons::GetWeaponClassName New page: {{Function |Version=4 |Name=GetWeaponClassName(<weapon name>) |Module=Weapons |Available |Summary=Returns the classname for the given weapon |Call_on |Example=<pre>weapon_type = getw... current
- 03:1703:17, 1 August 2009 diff hist +325 N Call of Duty 4: Scripting Reference - Weapons::GetWeaponClipModel New page: {{Function |Version=4 |Name=GetWeaponClipModel( <weapon name> ) |Module=Weapons |Available |Summary=Returns the name of the weapon clip/magazine model used for the given weapon |Call... current
- 03:1703:17, 1 August 2009 diff hist +401 N Call of Duty 4: Scripting Reference - Weapons::GetWeaponModel New page: {{Function |Version=4 |Name=GetWeaponModel( <weapon name>, <model variant> ) |Module=Weapons |Available |Summary=Returns the name of the weapon model used for the given weapon.... current
- 03:1703:17, 1 August 2009 diff hist +282 N Call of Duty 4: Scripting Reference - Weapons::IsWeaponClipOnly New page: {{Function |Version=4 |Name=IsWeaponClipOnly( <weapon name> ) |Module=Weapons |Available |Summary=Returns true if the weapon is clip only |Call_on |Example=<pre>IsWeaponClipOnly( "c4... current
- 03:1703:17, 1 August 2009 diff hist +331 N Call of Duty 4: Scripting Reference - Weapons::IsWeaponDetonationTimed New page: {{Function |Version=4 |Name=IsWeaponDetonationTimed( <weapon name> ) |Module=Weapons |Available |Summary=Returns true if the weapon has timed detonation (e.g. frag/smoke grenades) |C... current
- 03:1703:17, 1 August 2009 diff hist +572 N Call of Duty 4: Scripting Reference - Weapons::ItemWeaponSetAmmo New page: {{Function |Version=4 |Name=ItemWeaponSetAmmo( <clip ammo>, <reserve ammo>, <alt weapon>, ) |Module=Weapons |Available |Summary=Sets the ammo ammount for a weapon item e... current
- 03:1703:17, 1 August 2009 diff hist +454 N Call of Duty 4: Scripting Reference - Weapons::MagicBullet New page: {{Function |Version=4 |Name=MagicBullet( <weaponName>, <sourceLoc>, <destLoc> ) |Module=Weapons |Available=SP Only |Summary=Fire a 'magic bullet', from the source locatio... current
- 03:1703:17, 1 August 2009 diff hist +492 N Call of Duty 4: Scripting Reference - Weapons::MagicGrenade New page: {{Function |Version=4 |Name=MagicGrenade( <origin>, <target position>, <time to blow> ) |Module=Weapons |Available=SP Only |Summary=Creates a "Magic" grenade from an acto... current
- 03:1603:16, 1 August 2009 diff hist +504 N Call of Duty 4: Scripting Reference - Weapons::MagicGrenadeManual New page: {{Function |Version=4 |Name=MagicGrenadeManual( <origin>, <velocity>, <time to blow> ) |Module=Weapons |Available=SP Only |Summary=creates a "Magic" grenade from an actor... current
- 03:1603:16, 1 August 2009 diff hist +473 N Call of Duty 4: Scripting Reference - Weapons::Missile SetTarget New page: {{Function |Version=4 |Name=Missile_SetTarget( <target entity>, <target offset> ) |Module=Weapons |Available |Summary=Sets the target entity for a guided missile |Call_on=A mis... current
- 03:1603:16, 1 August 2009 diff hist +507 N Call of Duty 4: Scripting Reference - Weapons::WeaponAltWeaponName New page: {{Function |Version=4 |Name=WeaponAltWeaponName( <weapon name> ) |Module=Weapons |Available |Summary=Returns the name of the weapon this weapon has for its alternate mode. Returns "n... current
- 03:1603:16, 1 August 2009 diff hist +332 N Call of Duty 4: Scripting Reference - Weapons::WeaponClass New page: {{Function |Version=4 |Name=WeaponClass( <weapon name> ) |Module=Weapons |Available |Summary=Returns the class of weapon that this weapon is, such as "rifle", "smg", "spread", "pisto... current
- 03:1603:16, 1 August 2009 diff hist +275 N Call of Duty 4: Scripting Reference - Weapons::WeaponClipSize New page: {{Function |Version=4 |Name=WeaponClipSize( <weapon name> ) |Module=Weapons |Available |Summary=Get the weapon clip size for the given weapon |Call_on |Example=<pre>WeaponClipSize( "... current
- 03:1603:16, 1 August 2009 diff hist +294 N Call of Duty 4: Scripting Reference - Weapons::WeaponFightDist New page: {{Function |Version=4 |Name=WeaponFightDist( <weapon name> ) |Module=Weapons |Available=SP Only |Summary=Returns the fight distance for this weapon |Call_on |Example=<pre>fightdist =... current
- 03:1603:16, 1 August 2009 diff hist +275 N Call of Duty 4: Scripting Reference - Weapons::WeaponFireTime New page: {{Function |Version=4 |Name=WeaponFireTime( <weapon name> ) |Module=Weapons |Available |Summary=Get the weapon fire time for the given weapon |Call_on |Example=<pre>WeaponFireTime( "... current
- 03:1603:16, 1 August 2009 diff hist +337 N Call of Duty 4: Scripting Reference - Weapons::WeaponInventoryType New page: {{Function |Version=4 |Name=WeaponInventoryType( <weapon name> ) |Module=Weapons |Available |Summary=Returns the way this weapon is stored, such as "altmode", "item", "offhand", or "... current
- 03:1503:15, 1 August 2009 diff hist +270 N Call of Duty 4: Scripting Reference - Weapons::WeaponIsBoltAction New page: {{Function |Version=4 |Name=WeaponIsBoltAction( <weapon name> ) |Module=Weapons |Available |Summary=Get whether this weapon has a bolt action |Call_on |Example=<pre>WeaponIsBoltActio... current
- 03:1503:15, 1 August 2009 diff hist +266 N Call of Duty 4: Scripting Reference - Weapons::WeaponIsSemiAuto New page: {{Function |Version=4 |Name=WeaponIsSemiAuto( <weapon name> ) |Module=Weapons |Available |Summary=Get whether this weapon is semi automatic |Call_on |Example=<pre>WeaponIsSemiAuto( "... current
- 03:1503:15, 1 August 2009 diff hist +308 N Call of Duty 4: Scripting Reference - Weapons::WeaponMaxAmmo New page: {{Function |Version=4 |Name=WeaponMaxAmmo( <weapon name> ) |Module=Weapons |Available |Summary=Returns the max amount of ammo this weapon is meant to hold. Stockpile only, not the c... current
- 03:1503:15, 1 August 2009 diff hist +284 N Call of Duty 4: Scripting Reference - Weapons::WeaponMaxDist New page: {{Function |Version=4 |Name=WeaponMaxDist( <weapon name> ) |Module=Weapons |Available=SP Only |Summary=Returns the maximum distance for this weapon |Call_on |Example=<pre>maxdist = W... current
- 03:1503:15, 1 August 2009 diff hist +318 N Call of Duty 4: Scripting Reference - Weapons::WeaponStartAmmo New page: {{Function |Version=4 |Name=WeaponStartAmmo( <weapon name> ) |Module=Weapons |Available |Summary=Returns the amount of ammo this weapon is meant to start with when first given to a p... current
- 03:1503:15, 1 August 2009 diff hist +351 N Call of Duty 4: Scripting Reference - Weapons::WeaponType New page: {{Function |Version=4 |Name=WeaponType( <weapon name> ) |Module=Weapons |Available |Summary=Returns the type of weapon that this weapon is, such as "bullet", "projectile", "grenade",... current
- 03:1403:14, 1 August 2009 diff hist 0 m Call of Duty 4: Scripting Reference - Vehicles No edit summary
- 03:1403:14, 1 August 2009 diff hist +354 N Call of Duty 4: Scripting Reference - Vehicles::AddVehicleToCompass New page: {{Function |Version=4 |Name=AddVehicleToCompass( <compassIconType> ) |Module=Vehicles |Available=SP Only |Summary=Add this vehicle to the compass. |Call_on=a vehicle |Example=<pre>se... current
- 03:1403:14, 1 August 2009 diff hist +294 N Call of Duty 4: Scripting Reference - Vehicles::AttachPath New page: {{Function |Version=4 |Name=AttachPath( <node index> ) |Module=Vehicles |Available=SP Only |Summary=Attaches this vehicle to the given path. |Call_on=a vehicle |Example=<pre>bomber ... current
- 03:1403:14, 1 August 2009 diff hist +209 N Call of Duty 4: Scripting Reference - Vehicles::ClearGoalYaw New page: {{Function |Version=4 |Name=ClearGoalYaw( <yaw> ) |Module=Vehicles |Available |Summary=Clear the goal yaw direction for this vehicle. |Call_on=a vehicle |Example=<pre>level.flak1 Cle... current
- 03:1403:14, 1 August 2009 diff hist +198 N Call of Duty 4: Scripting Reference - Vehicles::ClearLookAtEnt New page: {{Function |Version=4 |Name=ClearLookAtEnt() |Module=Vehicles |Available |Summary=Clear the entity the vehicle is orienting towards. |Call_on=a vehicle |Example=<pre>eTank ClearLookAtEnt()... current
- 03:1403:14, 1 August 2009 diff hist +215 N Call of Duty 4: Scripting Reference - Vehicles::ClearTargetYaw New page: {{Function |Version=4 |Name=ClearTargetYaw( <yaw> ) |Module=Vehicles |Available |Summary=Clear the target yaw direction for this vehicle. |Call_on=a vehicle |Example=<pre>level.flak1... current
- 03:1303:13, 1 August 2009 diff hist +194 N Call of Duty 4: Scripting Reference - Vehicles::ClearTurretTarget New page: {{Function |Version=4 |Name=ClearTurretTarget() |Module=Vehicles |Available |Summary=Clear the target for the vehicle turret. |Call_on=a vehicle |Example=<pre>eTank ClearTurretTarget();</p... current
- 03:1303:13, 1 August 2009 diff hist +166 N Call of Duty 4: Scripting Reference - Vehicles::FireTurret New page: {{Function |Version=4 |Name=FireTurret() |Module=Vehicles |Available |Summary=Fire the vehicle's turret |Call_on=a vehicle |Example=<pre> nFlak FireTurret();</pre> }} current
- 03:1203:12, 1 August 2009 diff hist +502 N Call of Duty 4: Scripting Reference - Vehicles::FireWeapon New page: {{Function |Version=4 |Name=FireWeapon( <barrel tag>, <target ent>, <target offset> ) |Module=Vehicles |Available=SP Only |Summary=Fire the vehicle's weapon |Call_on=a ve... current
- 03:1203:12, 1 August 2009 diff hist +177 N Call of Duty 4: Scripting Reference - Vehicles::FreeVehicle New page: {{Function |Version=4 |Name=FreeVehicle() |Module=Vehicles |Available=SP Only |Summary=Frees this vehicle instance. |Call_on=a vehicle |Example=<pre>self FreeVehicle();</pre> }} current
- 03:1203:12, 1 August 2009 diff hist +460 N Call of Duty 4: Scripting Reference - Vehicles::GetAttachPos New page: {{Function |Version=4 |Name=GetAttachPos( <node index> ) |Module=Vehicles |Available=SP Only |Summary=Returns the origin and angles if the vehicle were to be attached to the path. T... current
- 03:1103:11, 1 August 2009 diff hist +321 N Call of Duty 4: Scripting Reference - Vehicles::GetEngineVolume New page: {{Function |Version=4 |Name=GetEngineVolume() |Module=Vehicles |Available=SP Only |Summary=Gets the volume of engine sound for this vehicle (the scaling value set by SetEngineVolume. The ... current
- 03:1103:11, 1 August 2009 diff hist +187 N Call of Duty 4: Scripting Reference - Vehicles::GetGoalSpeedMPH New page: {{Function |Version=4 |Name=GetGoalSpeedMPH() |Module=Vehicles |Available |Summary=Gets the goal speed in miles per hour. |Call_on=a vehicle |Example=<pre>self GetGoalSpeedMPH();</pre> }} current
- 03:1103:11, 1 August 2009 diff hist +179 N Call of Duty 4: Scripting Reference - Vehicles::GetSpeed New page: {{Function |Version=4 |Name=GetSpeed() |Module=Vehicles |Available |Summary=Gets the current speed in inches per second. |Call_on=a vehicle |Example=<pre>self GetSpeed();</pre> }} current
- 03:1103:11, 1 August 2009 diff hist +182 N Call of Duty 4: Scripting Reference - Vehicles::GetSpeedMPH New page: {{Function |Version=4 |Name=GetSpeedMPH() |Module=Vehicles |Available |Summary=Gets the current speed in miles per hour. |Call_on=a vehicle |Example=<pre>self GetSpeedMPH();</pre> }} current
- 03:1103:11, 1 August 2009 diff hist +219 N Call of Duty 4: Scripting Reference - Vehicles::GetVehicleOwner New page: {{Function |Version=4 |Name=GetVehicleOwner() |Module=Vehicles |Available=SP Only |Summary=Returns the owner of this particular vehicle. |Call_on=a vehicle |Example=<pre>eFlak88user = eFla... current
- 03:1003:10, 1 August 2009 diff hist +389 N Call of Duty 4: Scripting Reference - Vehicles::GetWheelSurface New page: {{Function |Version=4 |Name=GetWheelSurface( <wheel> ) |Module=Vehicles |Available=SP Only |Summary=Returns the surface type of the given wheel as a string. |Call_on=a vehicle |Examp... current
- 03:1003:10, 1 August 2009 diff hist +241 N Call of Duty 4: Scripting Reference - Vehicles::IsTurretReady New page: {{Function |Version=4 |Name=IsTurretReady() |Module=Vehicles |Available=SP Only |Summary=Query whether this vehicle's turret is ready for firing |Call_on=a vehicle |Example=<pre>while ( le... current
- 03:1003:10, 1 August 2009 diff hist +582 N Call of Duty 4: Scripting Reference - Vehicles::JoltBody New page: {{Function |Version=4 |Name=JoltBody( <jolt position>, <intensity>, <speedFrac>, <deceleration> ) |Module=Vehicles |Available=SP Only |Summary=Jolts the vehicle. |C... current
- 03:1003:10, 1 August 2009 diff hist +212 N Call of Duty 4: Scripting Reference - Vehicles::MakeVehicleUnusable New page: {{Function |Version=4 |Name=MakeVehicleUnusable() |Module=Vehicles |Available=SP Only |Summary=Sets this vehicle to be not usable by the player |Call_on=a vehicle |Example=<pre>car MakeVeh... current
- 03:0903:09, 1 August 2009 diff hist +206 N Call of Duty 4: Scripting Reference - Vehicles::MakeVehicleUsable New page: {{Function |Version=4 |Name=MakeVehicleUsable() |Module=Vehicles |Available=SP Only |Summary=Sets this vehicle to be usable by the player |Call_on=a vehicle |Example=<pre>nFlak MakeVehicle... current
- 03:0903:09, 1 August 2009 diff hist +325 N Call of Duty 4: Scripting Reference - Vehicles::ResumeSpeed New page: {{Function |Version=4 |Name=ResumeSpeed( <acceleration> ) |Module=Vehicles |Available |Summary=Sets the vehicle to resume its path speed. |Call_on=a vehicle |Example=<pre>level.tank ... current
- 03:0903:09, 1 August 2009 diff hist +358 N Call of Duty 4: Scripting Reference - Vehicles::ReturnPlayerControl New page: {{Function |Version=4 |Name=ReturnPlayerControl() |Module=Vehicles |Available=SP Only |Summary=After controlling a vehicle from script using something like setvehgoalpos(), if the vehicle ... current
- 03:0903:09, 1 August 2009 diff hist +314 N Call of Duty 4: Scripting Reference - Vehicles::SetAcceleration New page: {{Function |Version=4 |Name=SetAcceleration( <acceleration> ) |Module=Vehicles |Available |Summary=Sets the acceleration for this vehicle. |Call_on=a vehicle |Example=<pre>self SetAc... current
- 03:0803:08, 1 August 2009 diff hist +501 N Call of Duty 4: Scripting Reference - Vehicles::SetAirResistance New page: {{Function |Version=4 |Name=SetAirResistance( <max air resistance speed> ) |Module=Vehicles |Available |Summary=Sets the speed at which air resistance maxes out. |Call_on=a vehicle |... current
- 03:0803:08, 1 August 2009 diff hist +313 N Call of Duty 4: Scripting Reference - Vehicles::SetDeceleration New page: {{Function |Version=4 |Name=SetDeceleration( <deceleration> ) |Module=Vehicles |Available |Summary=Sets the deceleration for this vehicle. |Call_on=a vehicle |Example=<pre>self SetDe... current
- 03:0803:08, 1 August 2009 diff hist +372 N Call of Duty 4: Scripting Reference - Vehicles::SetEngineVolume New page: {{Function |Version=4 |Name=SetEngineVolume( <scale> ) |Module=Vehicles |Available=SP Only |Summary=Scales the volume of engine sound for this vehicle. This is useful for ramping up... current
- 03:0803:08, 1 August 2009 diff hist +365 N Call of Duty 4: Scripting Reference - Vehicles::SetGoalYaw New page: {{Function |Version=4 |Name=SetGoalYaw( <yaw> ) |Module=Vehicles |Available |Summary=Set the goal yaw direction for this vehicle. Goal yaw is ignored if vehicle doesn't stop at goal.... current
- 03:0803:08, 1 August 2009 diff hist +391 N Call of Duty 4: Scripting Reference - Vehicles::SetHoverParams New page: {{Function |Version=4 |Name=SetHoverParams( <radius>, <speed>, <accel> ) |Module=Vehicles |Available |Summary=Set the hovering parameters. |Call_on=a vehicle |Example=<pr... current
- 03:0703:07, 1 August 2009 diff hist +795 N Call of Duty 4: Scripting Reference - Vehicles::SetJitterParams New page: {{Function |Version=4 |Name=SetJitterParams( <range vector>, <min period>, <max period> ) |Module=Vehicles |Available |Summary=Set the jitter parameters. Set everything t... current
- 03:0703:07, 1 August 2009 diff hist +268 N Call of Duty 4: Scripting Reference - Vehicles::SetLookAtEnt New page: {{Function |Version=4 |Name=SetLookAtEnt( <entity> ) |Module=Vehicles |Available |Summary=Set the entity this vehicle will orient towards. |Call_on=a vehicle |Example=<pre>eFlak88 Se... current
- 03:0703:07, 1 August 2009 diff hist +311 N Call of Duty 4: Scripting Reference - Vehicles::SetMaxPitchRoll New page: {{Function |Version=4 |Name=SetMaxPitchRoll( <pitch>, <roll> ) |Module=Vehicles |Available |Summary=Sets max pitch and roll angle for this vehicle. |Call_on=a vehicle |Example=... current
- 03:0703:07, 1 August 2009 diff hist +310 N Call of Duty 4: Scripting Reference - Vehicles::SetNearGoalNotifyDist New page: {{Function |Version=4 |Name=SetNearGoalNotifyDist( <dist> ) |Module=Vehicles |Available |Summary=Set distance near goal at which near_goal notification should be sent once. |Call_on=... current
- 03:0703:07, 1 August 2009 diff hist +523 N Call of Duty 4: Scripting Reference - Vehicles::SetSpeed New page: {{Function |Version=4 |Name=SetSpeed( <speed>, <acceleration>, <deceleration> ) |Module=Vehicles |Available |Summary=Sets the speed and acceleration for this vehicle. |Ca... current
- 03:0703:07, 1 August 2009 diff hist +652 N Call of Duty 4: Scripting Reference - Vehicles::SetSpeedImmediate New page: {{Function |Version=4 |Name=SetSpeedImmediate( <speed>, <acceleration>, <deceleration> ) |Module=Vehicles |Available |Summary=Sets the speed and acceleration for this veh... current
- 03:0703:07, 1 August 2009 diff hist +366 N Call of Duty 4: Scripting Reference - Vehicles::SetSwitchNode New page: {{Function |Version=4 |Name=SetSwitchNode( <source node> <dest node> ) |Module=Vehicles |Available=SP Only |Summary=Sets a switch node for this vehicle. |Call_on=a vehicle |Exa... current
- 03:0703:07, 1 August 2009 diff hist +316 N Call of Duty 4: Scripting Reference - Vehicles::SetTargetYaw New page: {{Function |Version=4 |Name=SetTargetYaw( <yaw> ) |Module=Vehicles |Available |Summary=Set the target yaw direction for this vehicle. Goal yaw has priority over target yaw. |Call_on=... current
- 03:0603:06, 1 August 2009 diff hist +349 N Call of Duty 4: Scripting Reference - Vehicles::SetTurningAbility New page: {{Function |Version=4 |Name=SetTurningAbility( <turning ability> ) |Module=Vehicles |Available |Summary=If this is higher, helicopters can make sharper turns to match goal positions ... current
- 03:0603:06, 1 August 2009 diff hist +394 N Call of Duty 4: Scripting Reference - Vehicles::SetTurretTargetEnt New page: {{Function |Version=4 |Name=SetTurretTargetEnt( <target entity>, <target offset> ) |Module=Vehicles |Available |Summary=Set the target entity for this vehicle turret. |Call_on=... current
- 03:0603:06, 1 August 2009 diff hist +310 N Call of Duty 4: Scripting Reference - Vehicles::SetTurretTargetVec New page: {{Function |Version=4 |Name=SetTurretTargetVec( <target position> ) |Module=Vehicles |Available |Summary=Set the target position for this vehicle turret. |Call_on=a vehicle |Example=... current
- 03:0503:05, 1 August 2009 diff hist +398 N Call of Duty 4: Scripting Reference - Vehicles::SetVehGoalPos New page: {{Function |Version=4 |Name=SetVehGoalPos( <goalpos> <stopAtGoal> ) |Module=Vehicles |Available |Summary=Set the target position for this vehicle. |Call_on=a vehicle |Example=<... current
- 03:0503:05, 1 August 2009 diff hist +460 N Call of Duty 4: Scripting Reference - Vehicles::SetVehicleLookAtText New page: {{Function |Version=4 |Name=SetVehicleLookAtText( <lookat text line 1>, <lookat text line 2> ) |Module=Vehicles |Available=SP Only |Summary=Set look at text for vehicle. |Call_... current
- 03:0203:02, 1 August 2009 diff hist +248 N Call of Duty 4: Scripting Reference - Vehicles::SetVehicleTeam New page: {{Function |Version=4 |Name=SetVehicleTeam( <team> ) |Module=Vehicles |Available |Summary=Set which team a vehicle is on. |Call_on=a vehicle |Example |Required_args= # <team> T... current
- 03:0203:02, 1 August 2009 diff hist +249 N Call of Duty 4: Scripting Reference - Vehicles::SetVehWeapon New page: {{Function |Version=4 |Name=SetVehWeapon( <weapon name> ) |Module=Vehicles |Available=SP Only |Summary=Set the vehicle's weapon |Call_on=a vehicle |Example=<pre> chopper SetVehWeapon... current
- 03:0203:02, 1 August 2009 diff hist +284 N Call of Duty 4: Scripting Reference - Vehicles::SetWaitNode New page: {{Function |Version=4 |Name=SetWaitNode( <wait node> ) |Module=Vehicles |Available=SP Only |Summary=Sets a wait node for this vehicle. |Call_on=a vehicle |Example=<pre>self SetWaitNo... current
- 03:0203:02, 1 August 2009 diff hist +305 N Call of Duty 4: Scripting Reference - Vehicles::SetWaitSpeed New page: {{Function |Version=4 |Name=SetWaitSpeed( <wait speed> ) |Module=Vehicles |Available=SP Only |Summary=Sets a the wait speed for for this vehicle in miles per hour. |Call_on=a vehicle... current
- 03:0103:01, 1 August 2009 diff hist +607 N Call of Duty 4: Scripting Reference - Vehicles::SetYawSpeed New page: {{Function |Version=4 |Name=SetYawSpeed( <speed>, <acceleration>, <deceleration>, <overshoot percent> ) |Module=Vehicles |Available |Summary=Sets the yaw speed for ... current
- 03:0103:01, 1 August 2009 diff hist +200 N Call of Duty 4: Scripting Reference - Vehicles::StartEngineSound New page: {{Function |Version=4 |Name=StartEngineSound() |Module=Vehicles |Available=SP Only |Summary=Start the engine sound for this vehicle. |Call_on=a vehicle |Example=<pre>truck StartEngineSound... current
- 03:0103:01, 1 August 2009 diff hist +270 N Call of Duty 4: Scripting Reference - Vehicles::StartPath New page: {{Function |Version=4 |Name=StartPath() |Module=Vehicles |Available=SP Only |Summary=Starts the vehicle following this path. |Call_on=a vehicle |Example=<pre>bomber StartPath( aBomberPaths... current
- 03:0103:01, 1 August 2009 diff hist +198 N Call of Duty 4: Scripting Reference - Vehicles::StopEngineSound New page: {{Function |Version=4 |Name=StopEngineSound() |Module=Vehicles |Available=SP Only |Summary=Start the engine sound for this vehicle. |Call_on=a vehicle |Example=<pre>truck StopEngineSound()... current
- 03:0103:01, 1 August 2009 diff hist +386 N Call of Duty 4: Scripting Reference - Vehicles::VehForceMaterialSpeed New page: {{Function |Version=4 |Name=VehForceMaterialSpeed( <true/false>, <speed> ) |Module=Vehicles |Available=SP Only |Summary=Force treads to scroll as if the vehicle was moving at t... current
- 02:5802:58, 1 August 2009 diff hist +276 N Call of Duty 4: Scripting Reference - Vector::AnglesToForward New page: {{Function |Version=4 |Name=AnglesToForward( <angles> ) |Module=Vector |Available |Summary=Returns the forward vector corresponding to a set of angles. |Call_on |Example=<pre>forward... current
- 02:5802:58, 1 August 2009 diff hist +267 N Call of Duty 4: Scripting Reference - Vector::AnglesToRight New page: {{Function |Version=4 |Name=AnglesToRight( <angles> ) |Module=Vector |Available |Summary=Returns the right vector corresponding to a set of angles. |Call_on |Example=<pre>right = Ang... current
- 02:5802:58, 1 August 2009 diff hist +255 N Call of Duty 4: Scripting Reference - Vector::AnglesToUp New page: {{Function |Version=4 |Name=AnglesToUp( <angles> ) |Module=Vector |Available |Summary=Returns the up vector corresponding to a set of angles. |Call_on |Example=<pre>up = AnglesToUp( ... current
- 02:5802:58, 1 August 2009 diff hist +450 N Call of Duty 4: Scripting Reference - Vector::Closer New page: {{Function |Version=4 |Name=Closer( <reference>, <point a>, <point b> ) |Module=Vector |Available |Summary=Tests which of two points is the closest. Returns true if point... current
- 02:5702:57, 1 August 2009 diff hist +413 N Call of Duty 4: Scripting Reference - Vector::CombineAngles New page: {{Function |Version=4 |Name=CombineAngles( <angles a>, <angles b> ) |Module=Vector |Available |Summary=Returns angles b reoriented by angles a. |Call_on |Example=<pre>crateAngl... current
- 02:5702:57, 1 August 2009 diff hist +298 N Call of Duty 4: Scripting Reference - Vector::Distance New page: {{Function |Version=4 |Name=Distance( <point1>, <point2> ) |Module=Vector |Available |Summary=Returns the distance between two points |Call_on |Example=<pre>dist = Distance( or... current
- 02:5702:57, 1 August 2009 diff hist +330 N Call of Duty 4: Scripting Reference - Vector::Distance2D New page: {{Function |Version=4 |Name=Distance2D( <point1>, <point2> ) |Module=Vector |Available |Summary=Returns the distance between two points, ignores height difference. |Call_on |Ex... current
- 02:5702:57, 1 August 2009 diff hist +407 N Call of Duty 4: Scripting Reference - Vector::DistanceSquared New page: {{Function |Version=4 |Name=DistanceSquared( <point1>, <point2> ) |Module=Vector |Available |Summary=Returns the squared distance between two points - this is cheaper than the ... current
- 02:5702:57, 1 August 2009 diff hist +244 N Call of Duty 4: Scripting Reference - Vector::Length New page: {{Function |Version=4 |Name=Length( <vector> ) |Module=Vector |Available |Summary=Returns the length of the given vector |Call_on |Example=<pre>dist = Length( models[j].origin - cent... current
- 02:5702:57, 1 August 2009 diff hist +359 N Call of Duty 4: Scripting Reference - Vector::LengthSquared New page: {{Function |Version=4 |Name=LengthSquared( <vector> ) |Module=Vector |Available |Summary=Returns the squared vector length for the given vector - this is cheaper than the actual vect... current
- 02:5602:56, 1 August 2009 diff hist +259 N Call of Duty 4: Scripting Reference - Vector::VectorDot New page: {{Function |Version=4 |Name=VectorDot( <vector a>, <vector b> ) |Module=Vector |Available |Summary=Returns the dot product of two vectors |Call_on |Example |Required_args= # &l... current
- 02:5602:56, 1 August 2009 diff hist +526 N Call of Duty 4: Scripting Reference - Vector::VectorLerp New page: {{Function |Version=4 |Name=VectorLerp( <from>, <to>, <fraction> ) |Module=Vector |Available |Summary=Linear interpolates between two vectors. |Call_on |Example=<pre>colo... current
- 02:5602:56, 1 August 2009 diff hist +271 N Call of Duty 4: Scripting Reference - Vector::VectorNormalize New page: {{Function |Version=4 |Name=VectorNormalize( <vector> ) |Module=Vector |Available |Summary=Returns a normalized copy of this vector |Call_on |Example=<pre>difference = VectorNormaliz... current
- 02:5602:56, 1 August 2009 diff hist +291 N Call of Duty 4: Scripting Reference - Vector::VectorToAngles New page: {{Function |Version=4 |Name=VectorToAngles( <vector> ) |Module=Vector |Available |Summary=Returns a set of angles corresponding to the given vector. |Call_on |Example=<pre>angles = V... current
- 02:5502:55, 1 August 2009 diff hist +227 N Call of Duty 4: Scripting Reference - Turret::ClearTargetEntity New page: {{Function |Version=4 |Name=ClearTargetEntity() |Module=Turret |Available=SP Only |Summary=Clears the current target for this turret. |Call_on=<turret> A turret entity |Example=<pre>... current
- 02:5502:55, 1 August 2009 diff hist +221 N Call of Duty 4: Scripting Reference - Turret::GetTurretOwner New page: {{Function |Version=4 |Name=GetTurretOwner() |Module=Turret |Available=SP Only |Summary=Gets the "owner" of this turret |Call_on=<turret> A turret entity |Example=<pre>mg42user = roo... current
- 02:5502:55, 1 August 2009 diff hist +229 N Call of Duty 4: Scripting Reference - Turret::GetTurretTarget New page: {{Function |Version=4 |Name=GetTurretTarget() |Module=Turret |Available=SP Only |Summary= Gets the current target of this turret |Call_on=<turret> A turret entity |Example=<pre>targe... current
- 02:5502:55, 1 August 2009 diff hist +217 N Call of Duty 4: Scripting Reference - Turret::IsFiringTurret New page: {{Function |Version=4 |Name=IsFiringTurret() |Module=Turret |Available=SP Only |Summary=Checks whether this turret is firing. The entity must be a turret |Call_on=a Turret |Example=<pre>mg... current
- 02:5502:55, 1 August 2009 diff hist +224 N Call of Duty 4: Scripting Reference - Turret::MakeTurretUnusable New page: {{Function |Version=4 |Name=MakeTurretUnusable() |Module=Turret |Available=SP Only |Summary=Sets a turret to be unable to be used |Call_on=<turret> A turret entity |Example=<pre>roof... current
- 02:5502:55, 1 August 2009 diff hist +212 N Call of Duty 4: Scripting Reference - Turret::MakeTurretUsable New page: {{Function |Version=4 |Name=MakeTurretUsable() |Module=Turret |Available=SP Only |Summary=Sets a turret able to be used |Call_on=<turret> A turret entity |Example=<pre>roof_mg42 Make... current
- 02:5402:54, 1 August 2009 diff hist +414 N Call of Duty 4: Scripting Reference - Turret::RestoreDefaultDropPitch New page: {{Function |Version=4 |Name=RestoreDefaultDropPitch() |Module=Turret |Available=SP Only |Summary=Restores the pitch of the turret when it drops to the ground. Recalculates based on current... current
- 02:5302:53, 1 August 2009 diff hist +312 N Call of Duty 4: Scripting Reference - Turret::SetAISpread New page: {{Function |Version=4 |Name=SetAISpread( <spread> ) |Module=Turret |Available=SP Only |Summary=Sets the spread of this turret when used by an AI |Call_on=<turret> A turret enti... current
- 02:5302:53, 1 August 2009 diff hist +262 Nm Call of Duty 4: Scripting Reference - Turret::SetBottomArc New page: {{Function |Version=4 |Name=SetBottomArc( <angle> ) |Module=Turret |Available |Summary=Set the amount that the turret can pivot down |Call_on=A turret |Example=<pre>mg42 SetBottomArc... current
- 02:5302:53, 1 August 2009 diff hist +556 N Call of Duty 4: Scripting Reference - Turret::SetConvergenceTime New page: {{Function |Version=4 |Name=SetConvergenceTime( <convergence time>, <type> ) |Module=Turret |Available=SP Only |Summary=Sets the time that a turret takes to converge to its tar... current
- 02:5302:53, 1 August 2009 diff hist +419 N Call of Duty 4: Scripting Reference - Turret::SetDefaultDropPitch New page: {{Function |Version=4 |Name=SetDefaultDropPitch( <pitch>, <yaw> ) |Module=Turret |Available=SP Only |Summary=Set the default drop pitch that the turret attempts to return to wh... current
- 02:5302:53, 1 August 2009 diff hist +262 N Call of Duty 4: Scripting Reference - Turret::SetLeftArc New page: {{Function |Version=4 |Name=SetLeftArc( <angle> ) |Module=Turret |Available |Summary=Set the amount that the turret can move to the left |Call_on=A turret |Example=<pre>mg42 SetLeftA... current
- 02:5302:53, 1 August 2009 diff hist +327 N Call of Duty 4: Scripting Reference - Turret::SetMode New page: {{Function |Version=4 |Name=SetMode( <mode> ) |Module=Turret |Available=SP Only |Summary=Set the mode of a turret. |Call_on=<turret> A turret entity |Example=<pre>mg42 SetMode... current
- 02:5302:53, 1 August 2009 diff hist +325 N Call of Duty 4: Scripting Reference - Turret::SetPlayerSpread New page: {{Function |Version=4 |Name=SetPlayerSpread( <spread> ) |Module=Turret |Available=SP Only |Summary=Sets the spread of this turret when used by the player |Call_on=<turret> A tu... current
- 02:5302:53, 1 August 2009 diff hist +266 N Call of Duty 4: Scripting Reference - Turret::SetRightArc New page: {{Function |Version=4 |Name=SetRightArc( <angle> ) |Module=Turret |Available |Summary=Set the amount that the turret can move to the right |Call_on=A turret |Example=<pre>mg42 SetRig... current
- 02:5202:52, 1 August 2009 diff hist +403 N Call of Duty 4: Scripting Reference - Turret::SetSuppressionTime New page: {{Function |Version=4 |Name=SetSuppressionTime( <supression time> ) |Module=Turret |Available=SP Only |Summary=Sets the time that a turret uses supressing fire after losing sight of ... current
- 02:5202:52, 1 August 2009 diff hist +286 N Call of Duty 4: Scripting Reference - Turret::SetTargetEntity New page: {{Function |Version=4 |Name=SetTargetEntity( <target> ) |Module=Turret |Available=SP Only |Summary=Sets the target of this turret |Call_on=<turret> A turret entity |Example=<pr... current
- 02:5202:52, 1 August 2009 diff hist +251 N Call of Duty 4: Scripting Reference - Turret::SetTopArc New page: {{Function |Version=4 |Name=SetTopArc( <angle> ) |Module=Turret |Available |Summary=Set the amount that the turret can pivot up |Call_on=A turret |Example=<pre>mg42 SetTopArc( 45 );<... current
- 02:5202:52, 1 August 2009 diff hist +441 N Call of Duty 4: Scripting Reference - Turret::SetTurretIgnoreGoals New page: {{Function |Version=4 |Name=SetTurretIgnoreGoals( <ignoreGoals> ) |Module=Turret |Available=SP Only |Summary=Sets the ignoreGoals flag for the turret. |Call_on=<turret> A turr... current
- 02:5202:52, 1 August 2009 diff hist +310 N Call of Duty 4: Scripting Reference - Turret::SetTurretTeam New page: {{Function |Version=4 |Name=SetTurretTeam( <team> ) |Module=Turret |Available=SP Only |Summary=Sets the team of a turret |Call_on=<turret> A turret entity |Example=<pre>roof_mg... current
- 02:5202:52, 1 August 2009 diff hist +188 N Call of Duty 4: Scripting Reference - Turret::ShootTurret New page: {{Function |Version=4 |Name=ShootTurret() |Module=Turret |Available=SP Only |Summary=Shoots a turret |Call_on=<turret> A turret entity |Example=<pre>roof_mg42 ShootTurret();</pre> }} current
- 02:5202:52, 1 August 2009 diff hist +190 N Call of Duty 4: Scripting Reference - Turret::StartFiring New page: {{Function |Version=4 |Name=StartFiring() |Module=Turret |Available=SP Only |Summary=Starts a turret firing |Call_on=<turret> A turret entity |Example=<pre>mg42 StartFiring();</pre> ... current
- 02:5202:52, 1 August 2009 diff hist +187 N Call of Duty 4: Scripting Reference - Turret::StopFiring New page: {{Function |Version=4 |Name=StopFiring() |Module=Turret |Available=SP Only |Summary=Stops a turret firing |Call_on=<turret> A turret entity |Example=<pre>mg42 StopFiring();</pre> }} current
- 02:5202:52, 1 August 2009 diff hist +222 N Call of Duty 4: Scripting Reference - Turret::TurretFireDisable New page: {{Function |Version=4 |Name=TurretFireDisable() |Module=Turret |Available=SP Only |Summary=Disable the turret's ability to fire. |Call_on=<turret> A turret entity |Example=<pre>chai... current
- 02:5202:52, 1 August 2009 diff hist +220 N Call of Duty 4: Scripting Reference - Turret::TurretFireEnable New page: {{Function |Version=4 |Name=TurretFireEnable() |Module=Turret |Available=SP Only |Summary=Enable the turret's ability to fire. |Call_on=<turret> A turret entity |Example=<pre>chaing... current
- 02:5002:50, 1 August 2009 diff hist +151 N Call of Duty 4: Scripting Reference - Spawn::CanSpawnTurret New page: {{Function |Version=4 |Name=CanSpawnTurret() |Module=Spawn |Available=SP Only |Summary=Returns whether a new turret can be spawned |Call_on |Example }} current
- 02:5002:50, 1 August 2009 diff hist +437 N Call of Duty 4: Scripting Reference - Spawn::DoSpawn New page: {{Function |Version=4 |Name=DoSpawn( <targetname> ) |Module=Spawn |Available=SP Only |Summary=Spawns an actor from an actor spawner, if possible (the spawner won't spawn if the playe... current
- 02:5002:50, 1 August 2009 diff hist +201 N Call of Duty 4: Scripting Reference - Spawn::GetSpawnerArray New page: {{Function |Version=4 |Name=GetSpawnerArray() |Module=Spawn |Available=SP Only |Summary=Returns an array of all of the spawners in a level. |Call_on |Example=<pre>spawners = GetSpawnerArra... current
- 02:5002:50, 1 August 2009 diff hist +459 N Call of Duty 4: Scripting Reference - Spawn::GetSpawnerTeamArray New page: {{Function |Version=4 |Name=GetSpawnerTeamArray( <team>, <team>... ) |Module=Spawn |Available=SP Only |Summary=Returns an array of all of the spawners in a level |Call_on |Exam... current
- 02:5002:50, 1 August 2009 diff hist +271 N Call of Duty 4: Scripting Reference - Spawn::PlaceSpawnPoint New page: {{Function |Version=4 |Name=PlaceSpawnPoint() |Module=Spawn |Available=MP Only |Summary=Raises the spawn point up to make sure it's not in the ground, then drops it back down into the grou... current
- 02:5002:50, 1 August 2009 diff hist +376 N Call of Duty 4: Scripting Reference - Spawn::PositionWouldTelefrag New page: {{Function |Version=4 |Name=PositionWouldTelefrag( <position> ) |Module=Spawn |Available=MP Only |Summary=Returns true if the passed in origin would telefrag a player if another play... current
- 02:5002:50, 1 August 2009 diff hist +296 N Call of Duty 4: Scripting Reference - Spawn::SetSpawnerTeam New page: {{Function |Version=4 |Name=SetSpawnerTeam( <team> ) |Module=Spawn |Available=SP Only |Summary=Set the team for this spawner |Call_on=An ai spawner |Example=<pre>self SetSpawnerTeam(... current
- 02:5002:50, 1 August 2009 diff hist +778 N Call of Duty 4: Scripting Reference - Spawn::Spawn New page: {{Function |Version=4 |Name=Spawn( <classname>, <origin>, <flags>, <radius>, <height> ) |Module=Spawn |Available |Summary=Spawns a new entity and returns a re... current
- 02:4902:49, 1 August 2009 diff hist +150 N Call of Duty 4: Scripting Reference - Spawn::SpawnStruct New page: {{Function |Version=4 |Name=SpawnStruct() |Module=Spawn |Available |Summary=Allocates a structure |Call_on |Example=<pre>ent = SpawnStruct();</pre> }} current
- 02:4902:49, 1 August 2009 diff hist +463 N Call of Duty 4: Scripting Reference - Spawn::SpawnTurret New page: {{Function |Version=4 |Name=SpawnTurret( <classname>, <origin>, <weaponinfoname> ) |Module=Spawn |Available |Summary=Spawns a new turret, eg MG42 or flak gun and returns ... current
- 02:4902:49, 1 August 2009 diff hist +575 N Call of Duty 4: Scripting Reference - Spawn::SpawnVehicle New page: {{Function |Version=4 |Name=SpawnVehicle( <modelname>, <targetname>, <vehicletype>, <origin>, <angles> ) |Module=Spawn |Available=SP Only |Summary=Spawns a ne... current
- 02:4902:49, 1 August 2009 diff hist +427 N Call of Duty 4: Scripting Reference - Spawn::StalingradSpawn New page: {{Function |Version=4 |Name=StalingradSpawn( <targetname> ) |Module=Spawn |Available=SP Only |Summary=Force spawns an actor from an actor spawner, reguardless of whether the spawn po... current
- 02:4502:45, 1 August 2009 diff hist +146 N Call of Duty 4: Scripting Reference - Sound::EQOff New page: {{Function |Version=4 |Name=EQOff() |Module=Sound |Available=SP Only |Summary |Call_on=<entity> An entity |Example=<pre>ai EQOff();</pre> }} current
- 02:4402:44, 1 August 2009 diff hist +144 N Call of Duty 4: Scripting Reference - Sound::EQOn New page: {{Function |Version=4 |Name=EQOn() |Module=Sound |Available=SP Only |Summary |Call_on=<entity> An entity |Example=<pre>ai EQOn();</pre> }} current
- 02:4302:43, 1 August 2009 diff hist +5 Call of Duty 4: Scripting Reference - Sound::HasEQ No edit summary current
- 02:4302:43, 1 August 2009 diff hist +141 N Call of Duty 4: Scripting Reference - Sound::HasEQ New page: {{Function |Version=4 |Name=HasEQ() |Module=Sound |Available=SP Only |Summary |Call_on=<entity> An entity |Example=ai HasEQ();</pre> }}
- 02:4102:41, 1 August 2009 diff hist +178 N Call of Duty 4: Scripting Reference - Sound::AmplifyStop New page: {{Function |Version=4 |Name=AmplifyStop() |Module=Sound |Available=SP Only |Summary=Disables amplification if active (see amplify). |Call_on |Example=<pre>AmplifyStop();</pre> }} current
- 02:4102:41, 1 August 2009 diff hist +404 N Call of Duty 4: Scripting Reference - Sound::AmbientPlay New page: {{Function |Version=4 |Name=AmbientPlay( <ambient>, <fadetime> ) |Module=Sound |Available |Summary=Play the given piece of ambient sound. |Call_on |Example=<pre>AmbientPlay( "r... current
- 02:4102:41, 1 August 2009 diff hist +146 Call of Duty 4: Scripting Reference - Sound::AmbientStop No edit summary current
- 02:4002:40, 1 August 2009 diff hist +730 N Call of Duty 4: Scripting Reference - Sound::Amplify New page: {{Function |Version=4 |Name=Amplify( <origin>, <min_range>, <max_range>, <min_volume>, <max_volume>, <falloff> ) |Module=Sound |Available=SP Only |Summa... current
- 02:4002:40, 1 August 2009 diff hist +178 N Call of Duty 4: Scripting Reference - Sound::AmbientStop New page: {{Function |Version=4 |Name=AmplifyStop() |Module=Sound |Available=SP Only |Summary=Disables amplification if active (see amplify). |Call_on |Example=<pre>AmplifyStop();</pre> }}
- 02:4002:40, 1 August 2009 diff hist +230 N Call of Duty 4: Scripting Reference - Sound::IsWaitingOnSound New page: {{Function |Version=4 |Name=IsWaitingOnSound() |Module=Sound |Available=SP Only |Summary=Checks if this entity is waiting on a sound notify |Call_on=<entity> An entity |Example=<pre>... current
- 02:4002:40, 1 August 2009 diff hist +557 N Call of Duty 4: Scripting Reference - Sound::MusicPlay New page: {{Function |Version=4 |Name=MusicPlay( <music>, <timescale>, <overrideCheat> ) |Module=Sound |Available |Summary=Play the given piece of music. |Call_on |Example=<pre>Mus... current
- 02:4002:40, 1 August 2009 diff hist +451 N Call of Duty 4: Scripting Reference - Sound::MusicStop New page: {{Function |Version=4 |Name=MusicStop( <time>, <overrideCheat> ) |Module=Sound |Available |Summary=Stop playing music. |Call_on |Example=<pre>MusicStop( 3 );</pre> |Required_ar... current
- 02:3802:38, 1 August 2009 diff hist +277 N Call of Duty 4: Scripting Reference - Sound::PlayLoopSound New page: {{Function |Version=4 |Name=PlayLoopSound( <aliasname> ) |Module=Sound |Available |Summary=Play a sound as a loop |Call_on=<entity> An entity |Example=<pre>car PlayLoopSound( "... current
- 02:3802:38, 1 August 2009 diff hist +886 N Call of Duty 4: Scripting Reference - Sound::PlaySound New page: {{Function |Version=4 |Name=PlaySound( <aliasname>, <notification string>, <stoppable flag> ) |Module=Sound |Available |Summary=Play the sound alias as if coming from the... current
- 02:3802:38, 1 August 2009 diff hist +929 N Call of Duty 4: Scripting Reference - Sound::PlaySoundAsMaster New page: {{Function |Version=4 |Name=PlaySoundAsMaster( <aliasname>, <notification string>, <stoppable flag> ) |Module=Sound |Available |Summary= Play the sound alias as if comin... current
- 02:3802:38, 1 August 2009 diff hist +439 N Call of Duty 4: Scripting Reference - Sound::PlaySoundToPlayer New page: {{Function |Version=4 |Name=PlaySoundToPlayer( <aliasname>, <player> ) |Module=Sound |Available=MP Only |Summary= Play the sound alias as if coming from the entity, so that on... current
- 02:3802:38, 1 August 2009 diff hist +588 N Call of Duty 4: Scripting Reference - Sound::PlaySoundToTeam New page: {{Function |Version=4 |Name=PlaySoundToTeam( <aliasname>, <teamname>, <ignoreplayer> ) |Module=Sound |Available=MP Only |Summary= Play the sound alias as if coming from ... current
- 02:3802:38, 1 August 2009 diff hist +495 N Call of Duty 4: Scripting Reference - Sound::SetSoundBlend New page: {{Function |Version=4 |Name=SetSoundBlend( <sound 1>, <sound2>, <mix> ) |Module=Sound |Available=SP Only |Summary=Set the sound blend on a blend entity |Call_on=<soun... current
- 02:3802:38, 1 August 2009 diff hist +288 N Call of Duty 4: Scripting Reference - Sound::SoundExists New page: {{Function |Version=4 |Name=SoundExists( <aliasname> ) |Module=Sound |Available |Summary= Returns true if the sound alias exists |Call_on |Example=<pre>if ( SoundExists( "Dirt_skid"... current
- 02:3702:37, 1 August 2009 diff hist +322 N Call of Duty 4: Scripting Reference - Sound::SoundFade New page: {{Function |Version=4 |Name=SoundFade( <time> ) |Module=Sound |Available |Summary=Fades the sound out. |Call_on |Example=<pre>SoundFade( 3 );</pre> |Required_args |Optional_args= # &... current
- 02:3702:37, 1 August 2009 diff hist +177 N Call of Duty 4: Scripting Reference - Sound::StopLoopSound New page: {{Function |Version=4 |Name=StopLoopSound() |Module=Sound |Available |Summary= Stop a looping sound |Call_on=<entity> An entity |Example=<pre>car StopLoopSound();</pre> }} current
- 02:3702:37, 1 August 2009 diff hist +286 N Call of Duty 4: Scripting Reference - Sound::StopSounds New page: {{Function |Version=4 |Name=StopSounds() |Module=Sound |Available=SP Only |Summary=Stop all sounds on an entity. *WARNING*, You must have a wait between StopSounds() and delete() or the s... current
- 02:3602:36, 1 August 2009 diff hist +290 N Call of Duty 4: Scripting Reference - Sentient::CreateThreatBiasGroup New page: {{Function |Version=4 |Name=CreateThreatBiasGroup() |Module=Sentient |Available=SP Only |Summary=Create a new threat bias group. If it already exists, do nothing |Call_on |Example=<pre>Cre... current
- 02:3602:36, 1 August 2009 diff hist +429 N Call of Duty 4: Scripting Reference - Sentient::GetAIArray New page: {{Function |Version=4 |Name=GetAIArray( <team>, <team>, ... ) |Module=Sentient |Available=SP Only |Summary=Returns an array of the human AI |Call_on |Example=<pre> aiarray = Ge... current
- 02:3602:36, 1 August 2009 diff hist +440 N Call of Duty 4: Scripting Reference - Sentient::GetAISpeciesArray New page: {{Function |Version=4 |Name=GetAISpeciesArray( <team>, <species> ) |Module=Sentient |Available=SP Only |Summary=Returns an array of the AI |Call_on |Example=<pre> aiarray = Get... current
- 02:3602:36, 1 August 2009 diff hist +235 N Call of Duty 4: Scripting Reference - Sentient::GetClosestEnemySqDist New page: {{Function |Version=4 |Name=GetClosestEnemySqDist() |Module=Sentient |Available=SP Only |Summary=Get the distance to the nearest enemy |Call_on=A sentient, either AI or player |Example=<pr... current
- 02:3602:36, 1 August 2009 diff hist +197 N Call of Duty 4: Scripting Reference - Sentient::GetEnemySqDist New page: {{Function |Version=4 |Name=GetEnemySqDist() |Module=Sentient |Available=SP Only |Summary=This function is deprecated. use GetClosestEnemySqDist |Call_on=A sentient, either AI or player |E... current
- 02:3602:36, 1 August 2009 diff hist +247 N Call of Duty 4: Scripting Reference - Sentient::GetEye New page: {{Function |Version=4 |Name=GetEye() |Module=Sentient |Available |Summary=Gets the position of the eye for an AI or Player |Call_on=<sentient> An entity that is either the AI or a Pl... current
- 02:3602:36, 1 August 2009 diff hist +302 N Call of Duty 4: Scripting Reference - Sentient::GetThreatBias New page: {{Function |Version=4 |Name=GetThreatBias() |Module=Sentient |Available=SP Only |Summary=Get threat bias of first group against second group |Call_on |Example=<pre>GetThreatBias( "axis", "... current
- 02:3502:35, 1 August 2009 diff hist +207 N Call of Duty 4: Scripting Reference - Sentient::GetThreatBiasGroup New page: {{Function |Version=4 |Name=GetThreatBiasGroup() |Module=Sentient |Available=SP Only |Summary=Get the threat bias group of an AI or player |Call_on=<entity> |Example=<pre>GetThreatBi... current
- 02:3502:35, 1 August 2009 diff hist +280 N Call of Duty 4: Scripting Reference - Sentient::IsAI New page: {{Function |Version=4 |Name=IsAI( <entity> ) |Module=Sentient |Available=SP Only |Summary=Checks whether this entity is an ai character |Call_on |Example=<pre>if ( IsAI( gun_owner ) ... current
- 02:3502:35, 1 August 2009 diff hist +268 N Call of Duty 4: Scripting Reference - Sentient::IsAlive New page: {{Function |Version=4 |Name=IsAlive( <entity> ) |Module=Sentient |Available |Summary=Checks whether this entity is alive |Call_on |Example=<pre>if ( IsAlive( gun_owner ) ) ...</pre> ... current
- 02:3502:35, 1 August 2009 diff hist +275 N Call of Duty 4: Scripting Reference - Sentient::IsGodMode New page: {{Function |Version=4 |Name=IsGodMode( <entity> ) |Module=Sentient |Available |Summary=Checks whether this entity is in god mode |Call_on |Example=<pre>if ( IsGodMode( level.player )... current
- 02:3502:35, 1 August 2009 diff hist +270 N Call of Duty 4: Scripting Reference - Sentient::IsPlayer New page: {{Function |Version=4 |Name=IsPlayer( <entity> ) |Module=Sentient |Available |Summary=Checks whether this entity is the player |Call_on |Example=<pre>if ( IsPlayer( gun_owner ) ) ...... current
- 02:3402:34, 1 August 2009 diff hist +346 N Call of Duty 4: Scripting Reference - Sentient::IsSentient New page: {{Function |Version=4 |Name=IsSentient( <entity> ) |Module=Sentient |Available=SP Only |Summary=Checks whether this entity is a sentient, that is either an ai character or the player... current
- 02:3402:34, 1 August 2009 diff hist +278 N Call of Duty 4: Scripting Reference - Sentient::SetIgnoreMeGroup New page: {{Function |Version=4 |Name=SetIgnoreMeGroup() |Module=Sentient |Available=SP Only |Summary=Make first group ignored by second group |Call_on |Example=<pre>SetIgnoreMeGroup( "flanking_team... current
- 02:3402:34, 1 August 2009 diff hist +334 N Call of Duty 4: Scripting Reference - Sentient::SetThreatBias New page: {{Function |Version=4 |Name=SetThreatBias() |Module=Sentient |Available=SP Only |Summary=Set threat bias of first group against second group |Call_on |Example=<pre>SetThreatBias( "axis", "... current
- 02:3402:34, 1 August 2009 diff hist +307 N Call of Duty 4: Scripting Reference - Sentient::SetThreatBiasAgainstAll New page: {{Function |Version=4 |Name=SetThreatBiasAgainstAll() |Module=Sentient |Available=SP Only |Summary=Set the threatbias a group has against all others |Call_on |Example=<pre>SetThreatBiasAga... current
- 02:3402:34, 1 August 2009 diff hist +348 N Call of Duty 4: Scripting Reference - Sentient::SetThreatBiasGroup New page: {{Function |Version=4 |Name=SetThreatBiasGroup() |Module=Sentient |Available=SP Only |Summary=Set or clear threat bias group of an AI or player |Call_on=<entity> |Example=<pre>SetThr... current
- 02:3402:34, 1 August 2009 diff hist +261 N Call of Duty 4: Scripting Reference - Sentient::ThreatBiasGroupExists New page: {{Function |Version=4 |Name=ThreatBiasGroupExists() |Module=Sentient |Available=SP Only |Summary=Check if a threat bias group exists |Call_on |Example=<pre>ThreatBiasGroupExists( "flanking... current
- 02:3302:33, 1 August 2009 diff hist +281 N Call of Duty 4: Scripting Reference - Precache::PreCacheHeadIcon New page: {{Function |Version=4 |Name=PreCacheHeadIcon( <head icon name> ) |Module=Precache |Available=MP Only |Summary=precache a head icon. |Call_on |Example=<pre>PreCacheHeadIcon( game["hea... current
- 02:3202:32, 1 August 2009 diff hist +281 N Call of Duty 4: Scripting Reference - Precache::PreCacheItem New page: {{Function |Version=4 |Name=PreCacheItem( <item name> ) |Module=Precache |Available |Summary=Precaches the given item. It must be called before any wait statements in the level scrip... current
- 02:3202:32, 1 August 2009 diff hist +358 N Call of Duty 4: Scripting Reference - Precache::PreCacheLocationSelector New page: {{Function |Version=4 |Name=PreCacheLocationSelector( <material name> ) |Module=Precache |Available |Summary=precaches a material to be used as an indicator during location selection... current
- 02:3202:32, 1 August 2009 diff hist +233 N Call of Duty 4: Scripting Reference - Precache::PrecacheMenu New page: {{Function |Version=4 |Name=PrecacheMenu( <menu> ) |Module=Precache |Available |Summary=Precache this menu |Call_on |Example=<pre>PrecacheMenu( game["menu_serverinfo"] );</pre> |Requ... current
- 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
- 02:1202:12, 1 August 2009 diff hist +201 N Call of Duty 4: Scripting Reference - Level::SetMissionDvar New page: {{Function |Version=4 |Name=SetMissionDvar() |Module=Level |Available=SP Only |Summary=changes the value of the specified mission dvar |Call_on |Example=<pre>SetMissionDvar( "mission_01", ... current
- 02:1102:11, 1 August 2009 diff hist +365 N Call of Duty 4: Scripting Reference - Level::SetSunDirection New page: {{Function |Version=4 |Name=SetSunDirection( <dir to sun> ) |Module=Level |Available=SP Only |Summary=Overrides the sun direction for a level. Use 'resetSunDirection' to revert to t... current
- 02:1102:11, 1 August 2009 diff hist +622 N Call of Duty 4: Scripting Reference - Level::SetSunLight New page: {{Function |Version=4 |Name=SetSunLight( <red>, <green>, <blue> ) |Module=Level |Available=SP Only |Summary=Overrides the sun color for a level. Use 'resetSunLight' to r... current
- 02:1102:11, 1 August 2009 diff hist +165 N Call of Duty 4: Scripting Reference - Level::SetTimeScale New page: {{Function |Version=4 |Name=SetTimeScale() |Module=Level |Available=SP Only |Summary=sets the current timescale. |Call_on |Example=<pre>SetTimeScale( 0.5 );</pre> }}
- 02:1102:11, 1 August 2009 diff hist +209 N Call of Duty 4: Scripting Reference - Level::SetVoteNoCount New page: {{Function |Version=4 |Name=SetVoteNoCount( <no count> ) |Module=Level |Available=MP Only |Summary=Sets the number of No votes |Call_on |Example |Required_args= # <no count> Nu... current
- 02:1102:11, 1 August 2009 diff hist +198 N Call of Duty 4: Scripting Reference - Level::SetVoteString New page: {{Function |Version=4 |Name=SetVoteString( <string> ) |Module=Level |Available=MP Only |Summary=Sets the string for a vote |Call_on |Example |Required_args= # <string> The vote... current
- 02:1102:11, 1 August 2009 diff hist +200 N Call of Duty 4: Scripting Reference - Level::SetVoteTime New page: {{Function |Version=4 |Name=SetVoteTime( <time> ) |Module=Level |Available=MP Only |Summary=Sets the start time for a vote |Call_on |Example |Required_args= # <time> The vote t... current
- 02:1002:10, 1 August 2009 diff hist +212 N Call of Duty 4: Scripting Reference - Level::SetVoteYesCount New page: {{Function |Version=4 |Name=SetVoteYesCount( <no count> ) |Module=Level |Available=MP Only |Summary=Sets the number of Yes votes |Call_on |Example |Required_args= # <no count> ... current
- 02:1002:10, 1 August 2009 diff hist +229 N Call of Duty 4: Scripting Reference - Level::SetWinningPlayer New page: {{Function |Version=4 |Name=SetWinningPlayer( <player> ) |Module=Level |Available=MP Only |Summary=Sets a player to be the winner |Call_on |Example |Required_args= # <player> T... current
- 02:1002:10, 1 August 2009 diff hist +251 N Call of Duty 4: Scripting Reference - Level::SetWinningTeam New page: {{Function |Version=4 |Name=SetWinningTeam( <team> ) |Module=Level |Available=MP Only |Summary=Sets a team to be the winner |Call_on |Example |Required_args= # <team> The team ... current
- 02:1002:10, 1 August 2009 diff hist +183 N Call of Duty 4: Scripting Reference - Level::StopCinematicInGame New page: {{Function |Version=4 |Name=StopCinematicInGame() |Module=Level |Available=SP Only |Summary=Stop the currently playing cinematic |Call_on |Example=<pre>StopCinematicInGame();</pre> }} current
- 02:1002:10, 1 August 2009 diff hist +177 N Call of Duty 4: Scripting Reference - Level::UpdateClientNames New page: {{Function |Version=4 |Name=UpdateClientNames() |Module=Level |Available=MP Only |Summary=Update all of the client names: only works in 'manual_change' mode |Call_on |Example }} current
- 02:1002:10, 1 August 2009 diff hist +147 N Call of Duty 4: Scripting Reference - Level::WorldEntNumber New page: {{Function |Version=4 |Name=WorldEntNumber() |Module=Level |Available=MP Only |Summary=Returns the entity number for the world |Call_on |Example }} current
- 02:0802:08, 1 August 2009 diff hist +748 N Call of Duty 4: Scripting Reference - Hud::ChangeFontScaleOverTime New page: {{Function |Version=4 |Name=ChangeFontScaleOverTime( <time> ) |Module=Hud |Available=SP Only |Summary=Set a hud element to transition in fontScale over time. Normally setting the f... current
- 02:0802:08, 1 August 2009 diff hist +292 N Call of Duty 4: Scripting Reference - Hud::ClearAllTextAfterHudelem New page: {{Function |Version=4 |Name=ClearAllTextAfterHudelem() |Module=Hud |Available |Summary=Clear the config strings for the unique text set after this string. This is intended for development... current
- 02:0802:08, 1 August 2009 diff hist +194 N Call of Duty 4: Scripting Reference - Hud::ClearTargetEnt New page: {{Function |Version=4 |Name=ClearTargetEnt() |Module=Hud |Available |Summary=Clear this waypoint from targetting an entity. |Call_on=Hud Element |Example=<pre>waypoint ClearTargetEnt();</p... current
- 02:0802:08, 1 August 2009 diff hist +181 N Call of Duty 4: Scripting Reference - Hud::Destroy New page: {{Function |Version=4 |Name=Destroy() |Module=Hud |Available |Summary=Remove this Hud element altogether. |Call_on=Hud Element |Example=<pre>self.bombstopwatch Destroy(); </pre> }} current
- 02:0802:08, 1 August 2009 diff hist +710 N Call of Duty 4: Scripting Reference - Hud::FadeOverTime New page: {{Function |Version=4 |Name=FadeOverTime( <time> ) |Module=Hud |Available |Summary=Set a hud element to transition in color (or alpha) over time. Normally setting the color (or alp... current
- 02:0802:08, 1 August 2009 diff hist +271 N Call of Duty 4: Scripting Reference - Hud::MoveOverTime New page: {{Function |Version=4 |Name=MoveOverTime( <time> ) |Module=Hud |Available |Summary=Set a hud element to move over time. |Call_on=Hud Element |Example=<pre>newStr MoveOverTime( timer... current
- 02:0702:07, 1 August 2009 diff hist +305 N Call of Duty 4: Scripting Reference - Hud::NewClientHudElem New page: {{Function |Version=4 |Name=NewClientHudElem( <client> ) |Module=Hud |Available=MP Only |Summary=Create a new hud element for a particular client |Call_on |Example=<pre>self.kc_topba... current
- 02:0702:07, 1 August 2009 diff hist +154 N Call of Duty 4: Scripting Reference - Hud::NewHudElem New page: {{Function |Version=4 |Name=NewHudElem() |Module=Hud |Available |Summary=Create a new hud element |Call_on |Example=<pre>overlay = NewHudElem();</pre> }} current
- 02:0702:07, 1 August 2009 diff hist +358 N Call of Duty 4: Scripting Reference - Hud::NewTeamHudElem New page: {{Function |Version=4 |Name=NewTeamHudElem( <team> ) |Module=Hud |Available=MP Only |Summary=Create a new hud element for a particular team |Call_on |Example=<pre>level.progressbar_a... current
- 02:0602:06, 1 August 2009 diff hist +442 N Call of Duty 4: Scripting Reference - Hud::Obituary New page: {{Function |Version=4 |Name=Obituary( <victim>, <attacker>, <weapon>, <Means of death> ) |Module=Hud |Available=MP Only |Summary=Create an obituary for a character ... current
- 02:0602:06, 1 August 2009 diff hist +172 N Call of Duty 4: Scripting Reference - Hud::Reset New page: {{Function |Version=4 |Name=Reset() |Module=Hud |Available |Summary=Reset a HUD element to its default state. |Call_on=Hud Element |Example=<pre>element Reset(); </pre> }} current
- 02:0602:06, 1 August 2009 diff hist +442 N Call of Duty 4: Scripting Reference - Hud::ScaleOverTime New page: {{Function |Version=4 |Name=ScaleOverTime( <time>, <width>, <height> ) |Module=Hud |Available |Summary=Set a hud element to scale over time. |Call_on=Hud Element |Exampl... current
- 02:0602:06, 1 August 2009 diff hist +670 N Call of Duty 4: Scripting Reference - Hud::SetClock New page: {{Function |Version=4 |Name=SetClock( <time>, <full time>, <material>, <height>, <width> ) |Module=Hud |Available |Summary=Set a clock HUD element to count d... current
- 02:0602:06, 1 August 2009 diff hist +675 N Call of Duty 4: Scripting Reference - Hud::SetClockUp New page: {{Function |Version=4 |Name=SetClockUp( <time>, <full time>, <material>, <height>, <width> ) |Module=Hud |Available |Summary=Set a clock HUD element to count... current
- 02:0502:05, 1 August 2009 diff hist +249 N Call of Duty 4: Scripting Reference - Hud::SetGameTypeString New page: {{Function |Version=4 |Name=SetGameTypeString( <game type> ) |Module=Hud |Available=MP Only |Summary=Set the game type string for the game |Call_on=A Hud Element |Example |Required_a... current
- 02:0502:05, 1 August 2009 diff hist +231 N Call of Duty 4: Scripting Reference - Hud::SetMapNameString New page: {{Function |Version=4 |Name=SetMapNameString( <map name> ) |Module=Hud |Available=MP Only |Summary=Set the map name string |Call_on=A HUD element |Example |Required_args= # <map n... current
- 02:0502:05, 1 August 2009 diff hist +234 N Call of Duty 4: Scripting Reference - Hud::SetPlayerNameString New page: {{Function |Version=4 |Name=SetPlayerNameString( <player> ) |Module=Hud |Available=MP Only |Summary=Set the player name string for a HUD element |Call_on=A HUD element |Example |Requ... current
- 02:0202:02, 1 August 2009 diff hist 0 m Call of Duty 4: Scripting Reference - Hud::SetPulseFX No edit summary current
- 02:0202:02, 1 August 2009 diff hist 0 m Call of Duty 4: Scripting Reference - Hud::SetShader No edit summary current
- 02:0202:02, 1 August 2009 diff hist 0 m Call of Duty 4: Scripting Reference - Hud::SetTargetEnt No edit summary current
- 02:0202:02, 1 August 2009 diff hist 0 m Call of Duty 4: Scripting Reference - Hud::SetTenthsTimer No edit summary current
- 02:0202:02, 1 August 2009 diff hist 0 m Call of Duty 4: Scripting Reference - Hud::SetTenthsTimerUp No edit summary current
- 02:0202:02, 1 August 2009 diff hist 0 m Call of Duty 4: Scripting Reference - Hud::SetText No edit summary current
- 02:0202:02, 1 August 2009 diff hist 0 m Call of Duty 4: Scripting Reference - Hud::SetTimer No edit summary current
- 02:0202:02, 1 August 2009 diff hist 0 m Call of Duty 4: Scripting Reference - Hud::SetTimerUp No edit summary current
- 02:0202:02, 1 August 2009 diff hist 0 m Call of Duty 4: Scripting Reference - Hud::SetValue No edit summary current
- 02:0202:02, 1 August 2009 diff hist 0 m Call of Duty 4: Scripting Reference - Hud::SetWayPoint No edit summary current
- 01:5901:59, 1 August 2009 diff hist +482 N Call of Duty 4: Scripting Reference - Hud::SetPulseFX New page: {{Function |Version=4 |Name=SetPulseFX( <speed>, <decayStart>, <decayDuration> ) |Module=HUD |Available |Summary=Set the hudelem string to display with a "Pulse" effect. ...
- 01:5901:59, 1 August 2009 diff hist +440 N Call of Duty 4: Scripting Reference - Hud::SetShader New page: {{Function |Version=4 |Name=SetShader( <materialname>, <width>, <height> ) |Module=HUD |Available |Summary=Set the material for this Hud Element |Call_on=Hud Element |Exa...
- 01:5901:59, 1 August 2009 diff hist +368 N Call of Duty 4: Scripting Reference - Hud::SetTargetEnt New page: {{Function |Version=4 |Name=SetTargetEnt( <entity> ) |Module=HUD |Available |Summary=Set the entity that this waypoint should target. In MP, entity should already be a broadcasting ...
- 01:5901:59, 1 August 2009 diff hist +308 N Call of Duty 4: Scripting Reference - Hud::SetTenthsTimer New page: {{Function |Version=4 |Name=SetTenthsTimer( <time> ) |Module=HUD |Available |Summary=Set a timer HUD element to count down in tenths of a second |Call_on=Hud Timer Element |Example=<...
- 01:5901:59, 1 August 2009 diff hist +310 N Call of Duty 4: Scripting Reference - Hud::SetTenthsTimerUp New page: {{Function |Version=4 |Name=SetTenthsTimerUp( <time> ) |Module=HUD |Available |Summary=Set a timer HUD element to count up in tenths of a second |Call_on=Hud Timer Element |Example=<...
- 01:5901:59, 1 August 2009 diff hist +254 N Call of Duty 4: Scripting Reference - Hud::SetText New page: {{Function |Version=4 |Name=SetText( <text> ) |Module=HUD |Available |Summary=Set HUD text for this element. |Call_on=Hud Element |Example=<pre> level.introstring1 SetText(string1);<...
- 01:5901:59, 1 August 2009 diff hist +272 N Call of Duty 4: Scripting Reference - Hud::SetTimer New page: {{Function |Version=4 |Name=SetTimer( <time> ) |Module=HUD |Available |Summary=Set a timer HUD element to count down |Call_on=Hud Timer Element |Example=<pre>level.reinforcement_hud ...
- 01:5801:58, 1 August 2009 diff hist +274 N Call of Duty 4: Scripting Reference - Hud::SetTimerUp New page: {{Function |Version=4 |Name=SetTimerUp( <time> ) |Module=HUD |Available |Summary=Set a timer HUD element to count up |Call_on=Hud Timer Element |Example=<pre>level.reinforcement_hud ...
- 01:5801:58, 1 August 2009 diff hist +282 N Call of Duty 4: Scripting Reference - Hud::SetValue New page: {{Function |Version=4 |Name=SetValue( <value> ) |Module=HUD |Available |Summary=Set a value HUD element to a given value. |Call_on=Hud Value Element |Example=<pre>level.reinforcemen...
- 01:5801:58, 1 August 2009 diff hist +440 N Call of Duty 4: Scripting Reference - Hud::SetWayPoint New page: {{Function |Version=4 |Name=SetWayPoint( <constantSize>, <offscreenMaterialName> ) |Module=HUD |Available |Summary=Sets a hud element to be a waypoint. |Call_on=A HUD element |...
- 01:5701:57, 1 August 2009 diff hist +390 N Call of Duty 4: Scripting Reference - Entity::AddAIEventListener New page: {{Function |Version=4 |Name=AddAIEventListener( <event> ) |Module=Entity |Available=SP Only |Summary=Registers entity to listen to an AI event. Call waittill( <event> ) to get ... current
- 01:5701:57, 1 August 2009 diff hist +483 N Call of Duty 4: Scripting Reference - Entity::Attach New page: {{Function |Version=4 |Name=Attach( <modelname>, <tagname>, <ignoreCollision> ) |Module=Entity |Available |Summary=Attach a model to an entity. |Call_on=An Entity |Exampl... current
- 01:5701:57, 1 August 2009 diff hist +214 N Call of Duty 4: Scripting Reference - Entity::Delete New page: {{Function |Version=4 |Name=Delete() |Module=Entity |Available |Summary=Removes an entity from the game in the same manner as a trigger_kill" |Call_on=<entity> An entity |Example=<pr... current
- 01:5701:57, 1 August 2009 diff hist +393 N Call of Duty 4: Scripting Reference - Entity::Detach New page: {{Function |Version=4 |Name=Detach(<modelname>,<tagname>) |Module=Entity |Available |Summary=Detaches an attached model from an entity. |Call_on=An Entity |Example=<pre> self d... current
- 01:5701:57, 1 August 2009 diff hist +179 N Call of Duty 4: Scripting Reference - Entity::DetachAll New page: {{Function |Version=4 |Name=DetachAll() |Module=Entity |Available |Summary=detaches all attached models from an entity |Call_on=An Entity |Example=<pre>self DetachAll();</pre> }} current
- 01:5701:57, 1 August 2009 diff hist +429 N Call of Duty 4: Scripting Reference - Entity::Detonate New page: {{Function |Version=4 |Name=Detonate( <newowner> ) |Module=Entity |Available |Summary=Causes a grenade to explode. Must be called on a grenade. |Call_on=<entity> A grenade |Exa... current
- 01:5601:56, 1 August 2009 diff hist +237 N Call of Duty 4: Scripting Reference - Entity::DisableAimAssist New page: {{Function |Version=4 |Name=DisableAimAssist() |Module=Entity |Available |Summary=Disables aim assist on an entity. The entity must have a brush model |Call_on=An entity with a brushmodel... current
- 01:5601:56, 1 August 2009 diff hist +596 N Call of Duty 4: Scripting Reference - Entity::DoDamage New page: {{Function |Version=4 |Name=DoDamage( <health>, <source position>, <attacker>, <inflictor> ) |Module=Entity |Available=SP Only |Summary= Does damage to this entity ... current
- 01:5601:56, 1 August 2009 diff hist +293 N Call of Duty 4: Scripting Reference - Entity::DontInterpolate New page: {{Function |Version=4 |Name=DontInterpolate() |Module=Entity |Available=SP Only |Summary=pop the entity's position instantaneously to where it moves this time step, rather than smoothly mo... current
- 01:5601:56, 1 August 2009 diff hist +234 N Call of Duty 4: Scripting Reference - Entity::EnableAimAssist New page: {{Function |Version=4 |Name=EnableAimAssist() |Module=Entity |Available |Summary=Enables aim assist on an entity. The entity must have a brush model |Call_on=An entity with a brushmodel |... current
- 01:5501:55, 1 August 2009 diff hist +181 N Call of Duty 4: Scripting Reference - Entity::EnableLinkTo New page: {{Function |Version=4 |Name=EnableLinkTo() |Module=Entity |Available |Summary=enables linkto for an entity |Call_on=An entity |Example=<pre>self.bombtrigger EnableLinkTo();</pre> }} current
- 01:5501:55, 1 August 2009 diff hist +1,017 N Call of Duty 4: Scripting Reference - Entity::EntityRadiusDamage New page: {{Function |Version=4 |Name=EntityRadiusDamage( <origin>, <range>, <max damage>, <min damage>, [attacker] ) |Module=Entity |Available |Summary=Does damage to all da... current
- 01:5501:55, 1 August 2009 diff hist +440 N Call of Duty 4: Scripting Reference - Entity::GetAttachIgnoreCollision New page: {{Function |Version=4 |Name=GetAttachIgnoreCollision( <modelindex> ) |Module=Entity |Available |Summary=Returns the ignore collision flag of the attached model at the given attachmen... current
- 01:5501:55, 1 August 2009 diff hist +411 N Call of Duty 4: Scripting Reference - Entity::GetAttachModelName New page: {{Function |Version=4 |Name=GetAttachModelName( <modelindex> ) |Module=Entity |Available |Summary=Returns the name of the attached model at the given attachment slot |Call_on=An Ent... current
- 01:5501:55, 1 August 2009 diff hist +197 N Call of Duty 4: Scripting Reference - Entity::GetAttachSize New page: {{Function |Version=4 |Name=GetAttachSize() |Module=Entity |Available |Summary=Returns the number of attached models for this entity. |Call_on=An Entity |Example=<pre>self GetAttachSize();... current
- 01:5501:55, 1 August 2009 diff hist +410 N Call of Duty 4: Scripting Reference - Entity::GetAttachTagName New page: {{Function |Version=4 |Name=GetAttachTagName( <modelindex> ) |Module=Entity |Available |Summary=Returns the tagname of the attached model at the given attachment slot |Call_on=An En... current
- 01:5501:55, 1 August 2009 diff hist +181 N Call of Duty 4: Scripting Reference - Entity::GetCentroid New page: {{Function |Version=4 |Name=GetCentroid() |Module=Entity |Available |Summary=Gets the centroid of an entity |Call_on=An Entity |Example=<pre> centroid = self GetCentroid();</pre> }}
- 01:5401:54, 1 August 2009 diff hist +298 N Call of Duty 4: Scripting Reference - Entity::GetEnt New page: {{Function |Version=4 |Name=GetEnt( <name>, <key> ) |Module=Entity |Available |Summary=Looks up entities by key and name |Call_on |Example=<pre>spawner = GetEnt( "doorguy1", "t... current
- 01:5401:54, 1 August 2009 diff hist +343 N Call of Duty 4: Scripting Reference - Entity::GetEntArray New page: {{Function |Version=4 |Name=GetEntArray( <name>, <key> ) |Module=Entity |Available |Summary=Gets an array of entities that have the given key, name pair. |Call_on |Example=<pre... current
- 01:5401:54, 1 August 2009 diff hist +283 N Call of Duty 4: Scripting Reference - Entity::GetEntByNum New page: {{Function |Version=4 |Name=GetEntByNum( <entity number> ) |Module=Entity |Available |Summary=Gets an entity from its entity number |Call_on |Example=<pre> entity = GetEntByNum( entn... current
- 01:5401:54, 1 August 2009 diff hist +198 N Call of Duty 4: Scripting Reference - Entity::GetEntityNumber New page: {{Function |Version=4 |Name=GetEntityNumber() |Module=Entity |Available |Summary=Get the entity number of this entity |Call_on=<entity> |Example=<pre>selfnum = self GetEntityNumber()... current
- 01:5401:54, 1 August 2009 diff hist +185 N Call of Duty 4: Scripting Reference - Entity::GetEntNum New page: {{Function |Version=4 |Name=GetEntNum() |Module=Entity |Available=SP Only |Summary=Get the entity number for this entity |Call_on=<entity> |Example=<pre>self GetEntNum();</pre> }} current
- 01:5401:54, 1 August 2009 diff hist +233 N Call of Duty 4: Scripting Reference - Entity::GetLightColor New page: {{Function |Version=4 |Name=GetLightColor() |Module=Entity |Available=SP Only |Summary=Gets the current color of the light, as an RGB vector. |Call_on=<entity> A light entity |Exampl... current
- 01:5401:54, 1 August 2009 diff hist +227 N Call of Duty 4: Scripting Reference - Entity::GetLightExponent New page: {{Function |Version=4 |Name=GetLightExponent() |Module=Entity |Available=SP Only |Summary=Gets the current exponent of the light. |Call_on=<entity> A light entity |Example=<pre>expon... current
- 01:5401:54, 1 August 2009 diff hist +229 N Call of Duty 4: Scripting Reference - Entity::GetLightFovInner New page: {{Function |Version=4 |Name=GetLightFovInner() |Module=Entity |Available=SP Only |Summary=Gets the current inner fov of a spot light. |Call_on=<entity> A light entity |Example=<pre>r... current
- 01:5401:54, 1 August 2009 diff hist +228 N Call of Duty 4: Scripting Reference - Entity::GetLightFovOuter New page: {{Function |Version=4 |Name=GetLightFovOuter() |Module=Entity |Available=SP Only |Summary=Gets the current outer fov of a spot light. |Call_on=<entity> A light entity |Example=<pre>r... current
- 01:5301:53, 1 August 2009 diff hist +231 N Call of Duty 4: Scripting Reference - Entity::GetLightIntensity New page: {{Function |Version=4 |Name=GetLightIntensity() |Module=Entity |Available=SP Only |Summary=Gets the current intensity of the light. |Call_on=<entity> A light entity |Example=<pre>int... current
- 01:5301:53, 1 August 2009 diff hist +218 N Call of Duty 4: Scripting Reference - Entity::GetLightRadius New page: {{Function |Version=4 |Name=GetLightRadius() |Module=Entity |Available=SP Only |Summary=Gets the current radius of the light. |Call_on=<entity> A light entity |Example=<pre>radius = ... current
- 01:5301:53, 1 August 2009 diff hist +211 N Call of Duty 4: Scripting Reference - Entity::GetNormalHealth New page: {{Function |Version=4 |Name=GetNormalHealth() |Module=Entity |Available |Summary= Gets the normal health of this entity |Call_on=<entity> An entity |Example=<pre>health = entity GetN... current
- 01:5301:53, 1 August 2009 diff hist +172 N Call of Duty 4: Scripting Reference - Entity::GetOrigin New page: {{Function |Version=4 |Name=GetOrigin() |Module=Entity |Available |Summary=Gets the origin of an entity |Call_on=An Entity |Example=<pre>origin = self GetOrigin();</pre> }} current
- 01:5301:53, 1 August 2009 diff hist +377 N Call of Duty 4: Scripting Reference - Entity::GetShootAtPos New page: {{Function |Version=4 |Name=GetShootAtPos() |Module=Entity |Available |Summary=Gets the position an attacker would shoot at to hit this entity.For AI or player this is the eye position.For... current
- 01:5301:53, 1 August 2009 diff hist +170 N Call of Duty 4: Scripting Reference - Entity::Hide New page: {{Function |Version=4 |Name=Hide() |Module=Entity |Available |Summary=Hides a visible entity |Call_on=<entity> An entity |Example=<pre>brokenwindow Hide();</pre> }} current
- 01:5201:52, 1 August 2009 diff hist −157 Call of Duty 4: Scripting Reference - Entity::IsTouching No edit summary current
- 01:5001:50, 1 August 2009 diff hist +476 N Call of Duty 4: Scripting Reference - Entity::HidePart New page: {{Function |Version=4 |Name=HidePart( <tagname>, <modelname> ) |Module=Entity |Available |Summary=Hide part of an entity. |Call_on=An Entity |Example=<pre>self HidePart( "tag_w... current
- 01:5001:50, 1 August 2009 diff hist +476 N Call of Duty 4: Scripting Reference - Entity::IsTouching New page: {{Function |Version=4 |Name=HidePart( <tagname>, <modelname> ) |Module=Entity |Available |Summary=Hide part of an entity. |Call_on=An Entity |Example=<pre>self HidePart( "tag_w...
- 01:5001:50, 1 August 2009 diff hist +179 N Call of Duty 4: Scripting Reference - Entity::LaserOff New page: {{Function |Version=4 |Name=LaserOff() |Module=Entity |Available |Summary=Turns off entity's laser sight. |Call_on=<entity> An entity |Example=<pre>self LaserOff();</pre> }} current
- 01:5001:50, 1 August 2009 diff hist +176 N Call of Duty 4: Scripting Reference - Entity::LaserOn New page: {{Function |Version=4 |Name=LaserOn() |Module=Entity |Available |Summary=Turns on entity's laser sight. |Call_on=<entity> An entity |Example=<pre>self LaserOn();</pre> }} current
- 01:5001:50, 1 August 2009 diff hist +412 N Call of Duty 4: Scripting Reference - Entity::Launch New page: {{Function |Version=4 |Name=Launch( <initial velocity> ) |Module=Entity |Available=SP Only |Summary=Launch an object that interacts with the world, using an initial velocity. From th... current
- 01:4901:49, 1 August 2009 diff hist +559 N Call of Duty 4: Scripting Reference - Entity::LinkTo New page: {{Function |Version=4 |Name=LinkTo( <linkto entity>, <tag>, <originOffset>, <anglesOffset> ) |Module=Entity |Available |Summary=Attaches one entity to another |Call... current
- 01:4901:49, 1 August 2009 diff hist +348 N Call of Duty 4: Scripting Reference - Entity::LocalToWorldCoords New page: {{Function |Version=4 |Name=LocalToWorldCoords( <local coordinate> ) |Module=Entity |Available |Summary=Transform the given local coordinate point to a world coordinate point |Call_o... current
- 01:4901:49, 1 August 2009 diff hist +248 N Call of Duty 4: Scripting Reference - Entity::LockLightVis New page: {{Function |Version=4 |Name=LockLightVis() |Module=Entity |Available=SP Only |Summary=Locks the lights that are visible by this entity to reduce the calculations for fast entities |Call_on... current
- 01:4901:49, 1 August 2009 diff hist +389 N Call of Duty 4: Scripting Reference - Entity::RemoveAIEventListener New page: {{Function |Version=4 |Name=RemoveAIEventListener( <event> ) |Module=Entity |Available=SP Only |Summary=Remove an entity from listening to an AI event. |Call_on=<entity> entity... current
- 01:4801:48, 1 August 2009 diff hist +283 N Call of Duty 4: Scripting Reference - Entity::SetContents New page: {{Function |Version=4 |Name=SetContents( <contents> ) |Module=Entity |Available |Summary=Sets the contents of an entity. Returns the old contents. |Call_on=<entity> An entity |... current
- 01:4801:48, 1 August 2009 diff hist +345 N Call of Duty 4: Scripting Reference - Entity::SetCursorHint New page: {{Function |Version=4 |Name=SetCursorHint( <hint> ) |Module=Entity |Available |Summary=Sets a visible cursor near to an objective |Call_on=<entity> An entity that is associated... current
- 01:4801:48, 1 August 2009 diff hist +360 N Call of Duty 4: Scripting Reference - Entity::SetHintString New page: {{Function |Version=4 |Name=SetHintString( <string> ) |Module=Entity |Available |Summary=Sets the hint string for a usable entity |Call_on=<entity> Either a trigger_use entity... current
- 01:4801:48, 1 August 2009 diff hist +394 N Call of Duty 4: Scripting Reference - Entity::SetLightColor New page: {{Function |Version=4 |Name=SetLightColor( <color> ) |Module=Entity |Available=SP Only |Summary=Sets the current color of the light, as an RGB vector. |Call_on=<entity> A light... current
- 01:4801:48, 1 August 2009 diff hist +368 N Call of Duty 4: Scripting Reference - Entity::SetLightExponent New page: {{Function |Version=4 |Name=SetLightExponent( <exponent> ) |Module=Entity |Available=SP Only |Summary=Sets the current exponent of the light. |Call_on=<entity> A light entity |... current
- 01:4801:48, 1 August 2009 diff hist +615 N Call of Duty 4: Scripting Reference - Entity::SetLightFovRange New page: {{Function |Version=4 |Name=SetLightFovRange( <fov_outer>, <fov_inner> ) |Module=Entity |Available=SP Only |Summary=Sets the current radius of the light. |Call_on=<entity>... current
- 01:4701:47, 1 August 2009 diff hist +374 N Call of Duty 4: Scripting Reference - Entity::SetLightIntensity New page: {{Function |Version=4 |Name=SetLightIntensity( <intensity> ) |Module=Entity |Available=SP Only |Summary=Sets the current intensity of the light. |Call_on=<entity> A light entit... current
- 01:4701:47, 1 August 2009 diff hist +371 N Call of Duty 4: Scripting Reference - Entity::SetLightRadius New page: {{Function |Version=4 |Name=SetLightRadius( <radius> ) |Module=Entity |Available=SP Only |Summary=Sets the current radius of the light. |Call_on=<entity> A light entity |Exampl... current
- 01:4701:47, 1 August 2009 diff hist +448 N Call of Duty 4: Scripting Reference - Entity::SetLookAtText New page: {{Function |Version=4 |Name=SetLookAtText( <lookat text line 1>, <lookat text line 2> ) |Module=Entity |Available=SP Only |Summary=Set look at text for entity. |Call_on=an enti... current
- 01:4701:47, 1 August 2009 diff hist +320 N Call of Duty 4: Scripting Reference - Entity::SetModel New page: {{Function |Version=4 |Name=SetModel( <model name> ) |Module=Entity |Available |Summary=Sets the model of the entity to the given model name |Call_on=<entity> An entity |Exampl... current
- 01:4701:47, 1 August 2009 diff hist +325 N Call of Duty 4: Scripting Reference - Entity::SetNormalHealth New page: {{Function |Version=4 |Name=SetNormalHealth( <health> ) |Module=Entity |Available |Summary= Sets the normal health of this entity |Call_on=<entity> An entity |Example=<pre>self... current
- 01:4701:47, 1 August 2009 diff hist +343 N Call of Duty 4: Scripting Reference - Entity::SetShadowHint New page: {{Function |Version=4 |Name=SetShadowHint( <priority> ) |Module=Entity |Available=SP Only |Summary=Sets the shadow hint for the entity |Call_on=<entity> An entity |Example=<pre... current
- 01:4601:46, 1 August 2009 diff hist +341 N Call of Duty 4: Scripting Reference - Entity::SetStableMissile New page: {{Function |Version=4 |Name=SetStableMissile( <stablemissileflag> ) |Module=Entity |Available |Summary=This entity will shoot missiles that do not destabilize. Only applicable to veh... current
- 01:4601:46, 1 August 2009 diff hist +169 N Call of Duty 4: Scripting Reference - Entity::Show New page: {{Function |Version=4 |Name=Show() |Module=Entity |Available |Summary=Shows a hidden entity |Call_on=<entity> An entity |Example=<pre>brokenwindow Show();</pre> }} current
- 01:4601:46, 1 August 2009 diff hist +169 N Call of Duty 4: Scripting Reference - Entity::ShowAllParts New page: {{Function |Version=4 |Name=ShowAllParts() |Module=Entity |Available |Summary=Show all parts of an entity. |Call_on=An Entity |Example=<pre>self ShowAllParts();</pre> }} current
- 01:4601:46, 1 August 2009 diff hist +446 N Call of Duty 4: Scripting Reference - Entity::ShowPart New page: {{Function |Version=4 |Name=ShowPart( <tagname>, <modelname> ) |Module=Entity |Available |Summary=Show part of an entity. |Call_on=An Entity |Example=<pre>self ShowPart( "tag_w... current
- 01:4601:46, 1 August 2009 diff hist +234 N Call of Duty 4: Scripting Reference - Entity::ShowToPlayer New page: {{Function |Version=4 |Name=ShowToPlayer( <player> ) |Module=Entity |Available=MP Only |Summary=Show the entity to a given client |Call_on=An Entity |Example |Required_args= # <pl... current
- 01:4601:46, 1 August 2009 diff hist +215 N Call of Duty 4: Scripting Reference - Entity::StartIgnoringSpotLight New page: {{Function |Version=4 |Name=StartIgnoringSpotLight() |Module=Entity |Available=SP Only |Summary=Prevent spot light from affecting this entity. |Call_on=An Entity |Example=<pre>self StartIg... current
- 01:4501:45, 1 August 2009 diff hist +221 N Call of Duty 4: Scripting Reference - Entity::StopIgnoringSpotLight New page: {{Function |Version=4 |Name=StopIgnoringSpotLight() |Module=Entity |Available=SP Only |Summary=Stop preventing spot light from affecting this entity. |Call_on=An Entity |Example=<pre>self ... current
- 01:4501:45, 1 August 2009 diff hist +171 N Call of Duty 4: Scripting Reference - Entity::Unlink New page: {{Function |Version=4 |Name=Unlink() |Module=Entity |Available |Summary=Unlinks a linked entity from another entity |Call_on=An entity |Example=<pre>guy Unlink();</pre> }} current
- 01:4501:45, 1 August 2009 diff hist +209 N Call of Duty 4: Scripting Reference - Entity::UnlockLightVis New page: {{Function |Version=4 |Name=UnlockLightVis() |Module=Entity |Available=SP Only |Summary=Unlocks the lights that are visible by this entity |Call_on=<entity> |Example=<pre>spawn Unloc... current
- 01:4501:45, 1 August 2009 diff hist +333 N Call of Duty 4: Scripting Reference - Entity::UseBy New page: {{Function |Version=4 |Name=UseBy( <using entity> ) |Module=Entity |Available |Summary=Uses the entity with the passed in entity as the activator |Call_on=The entity to be used |Exam... current
- 01:4501:45, 1 August 2009 diff hist +268 N Call of Duty 4: Scripting Reference - Entity::UseTriggerRequireLookAt New page: {{Function |Version=4 |Name=UseTriggerRequireLookAt() |Module=Entity |Available |Summary=Modifies the use trigger so that it requires the user to be looking at it |Call_on=<entity> A... current
31 July 2009
- 17:3017:30, 31 July 2009 diff hist +280 N Call of Duty 4: Scripting Reference - Variables::IsArray New page: {{Function |Version=4 |Name=IsArray( <variable> ) |Module=Variables |Available |Summary=Checks whether this entity/variable is an array |Call_on |Example=<pre>if ( IsArray( gun_owner... current
- 17:3017:30, 31 July 2009 diff hist +277 N Call of Duty 4: Scripting Reference - Variables::IsDefined New page: {{Function |Version=4 |Name=IsDefined( <object> ) |Module=Variables |Available |Summary=Checks whether this entity/variable is defined |Call_on |Example=<pre>if ( IsDefined( gun_owne... current
- 17:3017:30, 31 July 2009 diff hist +283 N Call of Duty 4: Scripting Reference - Variables::IsString New page: {{Function |Version=4 |Name=IsString( <variable> ) |Module=Variables |Available |Summary=Checks whether this entity/variable is a string |Call_on |Example=<pre>if ( IsString( gun_own... current
- 17:2817:28, 31 July 2009 diff hist +272 N Call of Duty 4: Scripting Reference - String::GetSubStr New page: {{Function |Version=4 |Name=GetSubStr( <string>, <start index>, <end index> ) |Module=String |Available |Summary=Returns the substring of characters >= <start index... current
- 17:2817:28, 31 July 2009 diff hist +219 N Call of Duty 4: Scripting Reference - String::IsSubStr New page: {{Function |Version=4 |Name=IsSubStr( <string>, <substring> ) |Module=String |Available |Summary=Returns true/false if <substring> is a substring of <string>. Case ...
- 17:2817:28, 31 July 2009 diff hist −1 m Call of Duty 4: Scripting Reference - String::StrTok No edit summary current
- 17:2817:28, 31 July 2009 diff hist +218 N Call of Duty 4: Scripting Reference - String::StrTok New page: {{Function |Version=4 |Name=StrTok( <string>, <delim> ) |Module=String |Available |Summary=Tokenizes <string> by the delimiters <delim>. Returns the array of string...
- 17:2817:28, 31 July 2009 diff hist +176 N Call of Duty 4: Scripting Reference - String::ToLower New page: {{Function |Version=4 |Name=ToLower( <string> ) |Module=String |Available |Summary=Converts <string> to a lower case string which is returned. |Call_on= |Example }} current
- 17:2717:27, 31 July 2009 diff hist +268 N Call of Duty 4: Scripting Reference - Save::CommitSave New page: {{Function |Version=4 |Name=CommitSave( <saveId> ) |Module=Save |Available=SP Only |Summary=commits the current save in the save buffer. |Call_on |Example=<pre>CommitSave(id);</pre> ... current
- 17:2717:27, 31 July 2009 diff hist +204 N Call of Duty 4: Scripting Reference - Save::IsSaveRecentlyLoaded New page: {{Function |Version=4 |Name=IsSaveRecentlyLoaded() |Module=Save |Available=SP Only |Summary=checks if the current savegame has recently been loaded. |Call_on |Example=<pre>IsSaveRecentlyLo... current
- 17:2717:27, 31 July 2009 diff hist +193 N Call of Duty 4: Scripting Reference - Save::IsSaveSuccessful New page: {{Function |Version=4 |Name=IsSaveSuccessful() |Module=Save |Available=SP Only |Summary=checks if the last saved game was successfully saved. |Call_on |Example=<pre>IsSaveSuccessful();</pr... current
- 17:2717:27, 31 July 2009 diff hist +752 N Call of Duty 4: Scripting Reference - Save::SaveGame New page: {{Function |Version=4 |Name=SaveGame( <filename>, <description>, <screenshot>, <supressPlayerNotify> ) |Module=Save |Available=SP Only |Summary=Save the current gam... current
- 17:2717:27, 31 July 2009 diff hist +820 N Call of Duty 4: Scripting Reference - Save::SaveGameNoCommit New page: {{Function |Version=4 |Name=SaveGameNoCommit( <filename>, <description>, <screenshot>, <supressPlayerNotify> ) |Module=Save |Available=SP Only |Summary=Save the cur... current
- 17:2417:24, 31 July 2009 diff hist +267 N Call of Duty 4: Scripting Reference - Triggers::ClientClaimTrigger New page: {{Function |Version=4 |Name=ClientClaimTrigger( <trigger> ) |Module=Triggers |Available=MP Only |Summary=Claim a single user trigger. |Call_on=A Client |Example=<pre>other ClientCla... current
- 17:2417:24, 31 July 2009 diff hist +273 N Call of Duty 4: Scripting Reference - Triggers::ClientReleaseTrigger New page: {{Function |Version=4 |Name=ClientReleaseTrigger( <trigger> ) |Module=Triggers |Available=MP Only |Summary=Release a single user trigger. |Call_on=A Client |Example=<pre>other Clien... current
- 17:2417:24, 31 July 2009 diff hist +164 N Call of Duty 4: Scripting Reference - Triggers::ReleaseClaimedTrigger New page: {{Function |Version=4 |Name=ReleaseClaimedTrigger() |Module=Triggers |Available=MP Only |Summary=Release a currently claimed trigger |Call_on=A Trigger |Example }} current
- 17:2417:24, 31 July 2009 diff hist −186 m Call of Duty 4: Scripting Reference - Triggers No edit summary current
- 17:2317:23, 31 July 2009 diff hist +572 N Call of Duty 4: Scripting Reference - Trace::BulletTrace New page: {{Function |Version=4 |Name=BulletTrace( <start>, <end>, <hit characters>, <ignore entity> ) |Module=Trace |Available |Summary=Allows script to do a point trace wit...
- 17:2317:23, 31 July 2009 diff hist +583 N Call of Duty 4: Scripting Reference - Trace::BulletTracePassed New page: {{Function |Version=4 |Name=BulletTracePassed( <start>, <end>, <hit characters>, <ignore entity> ) |Module=Trace |Available |Summary=Allows script to do a point tra... current
- 17:2317:23, 31 July 2009 diff hist +812 N Call of Duty 4: Scripting Reference - Trace::DamageConeTrace New page: {{Function |Version=4 |Name=DamageConeTrace( <damage position>, <ignore entity> ) |Module=Trace |Available |Summary=Determines how much the entity can be damaged from the given... current
- 17:2317:23, 31 July 2009 diff hist +312 N Call of Duty 4: Scripting Reference - Trace::PhysicsTrace New page: {{Function |Version=4 |Name=PhysicsTrace( <start>, <end> ) |Module=Trace |Available |Summary=Physics trace, ignoring characters. Returns the endpos vector. |Call_on |Example=<p... current
- 17:2317:23, 31 July 2009 diff hist +350 N Call of Duty 4: Scripting Reference - Trace::PlayerPhysicsTrace New page: {{Function |Version=4 |Name=PlayerPhysicsTrace( <start>, <end> ) |Module=Trace |Available |Summary=Physics trace using player capsule size, ignoring characters. Returns the end... current
- 17:2317:23, 31 July 2009 diff hist +753 N Call of Duty 4: Scripting Reference - Trace::SightConeTrace New page: {{Function |Version=4 |Name=SightConeTrace( <sight position>, <ignore entity> ) |Module=Trace |Available |Summary=Determines how much the entity can be seen from the given posi... current
- 17:2317:23, 31 July 2009 diff hist +585 N Call of Duty 4: Scripting Reference - Trace::SightTracePassed New page: {{Function |Version=4 |Name=SightTracePassed( <start>, <end>, <hit characters>, <ignore entity> ) |Module=Trace |Available |Summary=Allows script to do a point trac... current
- 17:2117:21, 31 July 2009 diff hist −15 m Call of Duty 4: Scripting Reference - Teams::GetTeamPlayersAlive No edit summary current
- 17:2117:21, 31 July 2009 diff hist +319 N Call of Duty 4: Scripting Reference - Teams::GetAssignedTeam New page: {{Function |Version=4 |Name=GetAssignedTeam( <player> ) |Module=Teams |Available=MP Only |Summary=returns the player's team as assigned by matchmaking. 0 = No Team, 1 = OpFor, 2 = Al... current
- 17:2117:21, 31 July 2009 diff hist +272 N Call of Duty 4: Scripting Reference - Teams::GetTeamPlayersAlive New page: {{Function |Version=4 |Name=GetTeamPlayersAlive( <team> ) |Module=Teams |Available=MP Only |Summary=Returns the number of players still alive on a given team |Call_on=Required Args: ...
- 17:2117:21, 31 July 2009 diff hist +294 N Call of Duty 4: Scripting Reference - Teams::GetTeamRadar New page: {{Function |Version=4 |Name=GetTeamRadar( <team> ) |Module=Teams |Available=MP Only |Summary=Gets whether a team has radar or not |Call_on |Example=<pre>GetTeamRadar( "allies" )</pre... current
- 17:2117:21, 31 July 2009 diff hist +391 N Call of Duty 4: Scripting Reference - Teams::SetTeamRadar New page: {{Function |Version=4 |Name=SetTeamRadar( <team>, <availability> ) |Module=Teams |Available=MP Only |Summary=Sets whether a team has radar or not |Call_on |Example=<pre>SetTeam... current
- 17:2117:21, 31 July 2009 diff hist +315 N Call of Duty 4: Scripting Reference - Teams::SetTeamScore New page: {{Function |Version=4 |Name=SetTeamScore( <team>, <score> ) |Module=Teams |Available=MP Only |Summary=Set a team's score |Call_on |Example=<pre>SetTeamScore( "allies", 100 )</p... current
- 17:2117:21, 31 July 2009 diff hist +297 N Call of Duty 4: Scripting Reference - Teams::GetTeamScore New page: {{Function |Version=4 |Name=GetTeamScore( <team> ) |Module=Teams |Available=MP Only |Summary=Get a team's score |Call_on |Example=<pre>if ( GetTeamScore( "allies" ) > getTeamScore... current
- 17:1317:13, 31 July 2009 diff hist +219 N Call of Duty 4: Scripting Reference - System::LogPrint New page: {{Function |Version=4 |Name=LogPrint( <string> ) |Module=System |Available=MP Only |Summary=Prints to the server log file. |Call_on |Example |Required_args= # <string> The stri... current
- 17:1317:13, 31 July 2009 diff hist +255 N Call of Duty 4: Scripting Reference - System::ResetTimeout New page: {{Function |Version=4 |Name=ResetTimeout() |Module=System |Available |Summary=Resets the infinite loop check timer, to prevent an incorrect infinite loop error when a lot of script must be... current
- 17:1217:12, 31 July 2009 diff hist +155 N Call of Duty 4: Scripting Reference - System::SetArchive New page: {{Function |Version=4 |Name=SetArchive( <archive> ) |Module=System |Available=MP Only |Summary=deprecated function, does nothing |Call_on |Example }} current
- 17:1217:12, 31 July 2009 diff hist +215 N Call of Duty 4: Scripting Reference - System::UpdateGamerProfile New page: {{Function |Version=4 |Name=UpdateGamerProfile() |Module=System |Available=SP Only |Summary=Saves the player's gamer profile. Does nothing on PC. |Call_on |Example=<pre>UpdateGamerProfile...