Re: Upgrades and Power-Ups [message #347069 is a reply to message #347067] |
Sun, 17 August 2008 03:59 |
|
saberhawk
Messages: 1068 Registered: January 2006 Location: ::1
Karma:
|
General (1 Star) |
|
|
zunnie wrote on Sun, 17 August 2008 05:43 | I made a script for that powerup a long time ago but i dont think it
was ported into the scripts 3.4.4 dll, hopefully Jonwil will add it to 4.0 scripts.dll
The source code:
void z_StealthSuit::Custom(GameObject *obj,int message,int param,GameObject *sender)
{
if (message == 1000000025)
{
Change_Character(sender,"CnC_Nod_FlameThrower_2SF");
}
}
ScriptRegistrant<z_StealthSuit> z_StealthSuit_Registrant("z_StealthSuit","");
class z_StealthSuit : public ScriptImpClass {
void Custom(GameObject *obj,int message,int param,GameObject *sender);
};
|
jonwil isn't the only person that has authority over importing scripts, you know...
Imported.
|
|
|