Difference between revisions of "CMissile"
From Project X Wiki
(No difference)
|
Latest revision as of 04:19, 18 March 2010
Describes missile of any launching weapon.
Fields
int ActionType; //If you set this to 3, your charge will pick crates. CShootDesc initdesc; CWeaponLaunch launchdata; int JumpAngle; int JumpForce; int Timer; bool IsFlying;
void Jump(int Angle, int Force); void StartFly(); void Roam(); void ExplodeAt(fixed x, fixed y);
There are almost no known fields. Utils.pxl adds weap field, that references to weapon that fired missile.
Methods
ExplodeAt
void ExplodeAt(fixed x, fixed y);
Provokes explosion of missle at point x, y. Use it for custom explosions.
|