User contributions for CoDEmanX
Jump to navigation
Jump to search
1 August 2009
- 03:5003:50, 1 August 2009 diff hist −30 Call of Duty 4: Scripting Reference - Player::EnableTurretDismount No edit summary current
- 03:5003:50, 1 August 2009 diff hist +341 N Call of Duty 4: Scripting Reference - Player::EnableHealthShield New page: {{Function |Version=4 |Name=EnableHealthShield( <enable> ) |Module=Player |Available=SP Only |Summary=Sets whether the player's health shield is active |Call_on=The player |Example=<... current
- 03:5003:50, 1 August 2009 diff hist +36 Call of Duty 4: Scripting Reference - Player::EnableTurretDismount No edit summary
- 03:5003:50, 1 August 2009 diff hist −132 Call of Duty 4: Scripting Reference - Player::EnableInvulnerability No edit summary current
- 03:4903:49, 1 August 2009 diff hist −46 Call of Duty 4: Scripting Reference - Player::FragButtonPressed No edit summary current
- 03:4803:48, 1 August 2009 diff hist +341 N Call of Duty 4: Scripting Reference - Player::EnableInvulnerability New page: {{Function |Version=4 |Name=EnableHealthShield( <enable> ) |Module=Player |Available=SP Only |Summary=Sets whether the player's health shield is active |Call_on=The player |Example=<...
- 03:4803:48, 1 August 2009 diff hist +209 N Call of Duty 4: Scripting Reference - Player::EnableTurretDismount New page: {{Function |Version=4 |Name=EnableInvulnerability() |Module=Player |Available=SP Only |Summary=Makes player invulnerable to damage |Call_on=A Player |Example=<pre>level.player EnableInvuln...
- 03:4803:48, 1 August 2009 diff hist +215 N Call of Duty 4: Scripting Reference - Player::FragButtonPressed New page: {{Function |Version=4 |Name=EnableTurretDismount() |Module=Player |Available=SP Only |Summary=Player can dismount from turrets as normal. |Call_on=A Player |Example=<pre>level.player Enabl...
- 03:4803:48, 1 August 2009 diff hist +330 N Call of Duty 4: Scripting Reference - Player::FreezeControls New page: {{Function |Version=4 |Name=FreezeControls( <freeze state> ) |Module=Player |Available |Summary=Blocks or unblocks control input from this player |Call_on=The player |Example=<pre>le... current
- 03:4803:48, 1 August 2009 diff hist +238 N Call of Duty 4: Scripting Reference - Player::GetCurrentOffhand New page: {{Function |Version=4 |Name=GetCurrentOffhand() |Module=Player |Available |Summary=Gets the player's current off-hand weapon( usually a grenade). |Call_on=The player |Example=<pre>currentw... current
- 03:4703:47, 1 August 2009 diff hist +227 N Call of Duty 4: Scripting Reference - Player::GetCurrentWeapon New page: {{Function |Version=4 |Name=GetCurrentWeapon( <weapon name> ) |Module=Player |Available |Summary=Gets the players current weapon. |Call_on=The player |Example=<pre>currentweapon = le... current
- 03:4703:47, 1 August 2009 diff hist +237 N Call of Duty 4: Scripting Reference - Player::GetCurrentWeaponClipAmmo New page: {{Function |Version=4 |Name=GetCurrentWeaponClipAmmo() |Module=Player |Available |Summary=Gets the amount of ammo left in the player's clip. |Call_on=The player |Example=<pre> bulletCnt = ... current
- 03:4703:47, 1 August 2009 diff hist +351 N Call of Duty 4: Scripting Reference - Player::GetFractionMaxAmmo New page: {{Function |Version=4 |Name=GetFractionMaxAmmo( <weapon name> ) |Module=Player |Available |Summary=Return the player's current ammunition amount as a fraction of the weapon's maximum... current
- 03:4703:47, 1 August 2009 diff hist +356 N Call of Duty 4: Scripting Reference - Player::GetFractionStartAmmo New page: {{Function |Version=4 |Name=GetFractionStartAmmo( <weapon name> ) |Module=Player |Available |Summary=Return the player's current ammunition amount as a fraction of the weapon's start... current
- 03:4703:47, 1 August 2009 diff hist +293 N Call of Duty 4: Scripting Reference - Player::GetNormalizedMovement New page: {{Function |Version=4 |Name=GetNormalizedMovement() |Module=Player |Available=SP Only |Summary=Get the player's normalized movement vector. Returns [-1,1] for X(forward) and Y(right) base... current
- 03:4703:47, 1 August 2009 diff hist +259 N Call of Duty 4: Scripting Reference - Player::GetOffhandSecondaryClass New page: {{Function |Version=4 |Name=GetOffhandSecondaryClass() |Module=Player |Available |Summary=Gets the name (either "smoke" or "flash") that toggle is set to. |Call_on=The player |Example=<pre... current
- 03:4703:47, 1 August 2009 diff hist +189 N Call of Duty 4: Scripting Reference - Player::GetPlayerAngles New page: {{Function |Version=4 |Name=GetPlayerAngles() |Module=Player |Available |Summary=Get the player's angles |Call_on=The player |Example=<pre> angles = level.player GetPlayerAngles();</pre> }... current
- 03:4703:47, 1 August 2009 diff hist +209 N Call of Duty 4: Scripting Reference - Player::GetPlayerViewHeight New page: {{Function |Version=4 |Name=GetPlayerViewHeight() |Module=Player |Available=SP Only |Summary=Get the player's view height |Call_on=The player |Example=<pre>height = level.player GetPlayerV... current
- 03:4703:47, 1 August 2009 diff hist +283 N Call of Duty 4: Scripting Reference - Player::GetStance New page: {{Function |Version=4 |Name=GetStance() |Module=Player |Available |Summary=Gets the stance of the player. It only works for the player. Possible return values are 'crouch', 'prone' and 'st... current
- 03:4603:46, 1 August 2009 diff hist +181 N Call of Duty 4: Scripting Reference - Player::GetVelocity New page: {{Function |Version=4 |Name=GetVelocity() |Module=Player |Available |Summary=Gets the player's velocity |Call_on=The player |Example=<pre> vel = level.player GetVelocity();</pre> }} current
- 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