I'm a noobie trying to do stuff. Please help me out.
Made my own class extending from ONSHoverBike. Yah, a Manta.
It includes:
exec function MegaDrop(out vector Force, out vector Torque)
{
super.KApplyForce( Force, Torque);
Force += vect(0,0,-1) * MegaForceMag;
}
MegaForceMag is defined as 1000 in defaultproperties and up above as var() float MegaForceMag.
However, this doesn't work. If I bind the command MegaDrop to a button it doesn't give me any error messages or do anything. If I manually type it in the console, it says "bad or missing Force value".
Ok--- how can I make this work? The idea is it's gonna be like the Manta's right click just like, incredibly stronger.
Also, that exec function deal IS bindable to a button? No reason you cant bind a console command to a button when it's made in this fashoin or something?
Help appreciated. Thanks
edit: I know someone is gonna look at this and laugh their *** off. But keep in mind, I'm a noob. Any explainations of the whole deal and what I did wrong is highly appreciated and will be rewarded with a bag of cyber chips, large size
Made my own class extending from ONSHoverBike. Yah, a Manta.
It includes:
exec function MegaDrop(out vector Force, out vector Torque)
{
super.KApplyForce( Force, Torque);
Force += vect(0,0,-1) * MegaForceMag;
}
MegaForceMag is defined as 1000 in defaultproperties and up above as var() float MegaForceMag.
However, this doesn't work. If I bind the command MegaDrop to a button it doesn't give me any error messages or do anything. If I manually type it in the console, it says "bad or missing Force value".
Ok--- how can I make this work? The idea is it's gonna be like the Manta's right click just like, incredibly stronger.
Also, that exec function deal IS bindable to a button? No reason you cant bind a console command to a button when it's made in this fashoin or something?
Help appreciated. Thanks

edit: I know someone is gonna look at this and laugh their *** off. But keep in mind, I'm a noob. Any explainations of the whole deal and what I did wrong is highly appreciated and will be rewarded with a bag of cyber chips, large size

Comment