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