Utils.pxl

From Project X Wiki
Revision as of 22:55, 12 January 2012 by Zed (talk | contribs) (Scripts)
Jump to: navigation, search

PX Library
Library name: utils.pxl
Description: Has some useful functions.
Developed by: Entuser


Scripts

MissileIndex

Adds field "weap" of type CWeapon to CMissile

RandomsGens

Functions

float srandom_p()
float srandom_b()

Bugs

KeySync causes desync if the player holds his button after turnend. Fix:

override void CTurnGame::SetCurrentTeam(int Team)
{
super;
  
for (local i = 0; i < 256; i+=1)
{
keySync->kRStates[i] = false;
};
}