Blockland Forums > Modification Help
How to make a weapon plant bricks?
<< < (3/3)
Amade:

--- Quote from: takato14 on July 02, 2010, 12:25:44 PM ---I found the plant mode's coding; it doesnt work without the main part of the gun! The plant mode coding itself doesnt function alone, it needs the remainder of the code that is in the main Swiss army gun coding to actually do something.

Think of it like this. A program made using the Microsoft .NET framework cant run without the framework installed. The gun's main code is the framework, and the brick planting mode is the program.

--- End quote ---
Believe it or not I know what I'm talking about. This will plant a brick with the correct arguments.
--- Code: ---brickDeployProjectile.onCollision(%obj, %col, 0, %pos, "0 0 1");
--- End code ---
That's exactly what I told you to find. It doesn't need the swiss army gun to function.
takato14:
(*FaceDesk*) Im so stupid. Sorry for being such a novice; I KNOW you know what you're talking about, Amade; Ive seen your work. Thanks for helping me out, guys. Sorry for not paying attention. Credit to all of you who helped out.
Navigation
Message Index
Previous page

Go to full version