Blockland Forums > Modification Help
Iban Explains it All
Legacy:
If it isn't any trouble for someone, can you make some mediafire text documents so I can save them, google docs isn't working properly for me
wizzlemanizzle:
I wonder why this still hasnt been stickied?
Iban:
--- Quote from: wizzlemanizzle on May 03, 2011, 02:06:41 PM ---I wonder why this still hasnt been stickied?
--- End quote ---
Coding Help is slow enough that it does not need to be stickied.
takato14:
I designed a gun of mine to load an extra round into the firing mechanism each time you right click, allowing you to fire up to 3 rounds at once.
This all works just fine, but I'm having another issue. Logically, if 3 rounds were fired at once, then 3 casings should be ejected. I do not know how to spawn a debris data through functions. This is what I tried:
--- Code: --- %s = new (%this.DebrisType) ()
{
dataBlock = %debris;
initialVelocity = %sVelocity;
initialPosition = %obj.getEjectPoint(%slot);
sourceObject = %obj;
sourceSlot = %slot;
client = %obj.client;
};
--- End code ---
Which didnt work, needless to say. It made my console error with "Unable to instantitate non-conobject class ."
Any idea on how this is actually done?
takato14:
Uh, hello? :|