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