| Blockland Forums > Modification Help |
| Brick Killing |
| << < (3/4) > >> |
| Reinforcements:
--- Quote from: Iban on April 15, 2011, 08:42:30 AM ---Nobody in this thread has any idea what they're talking about. function GunProjectile::onCollision(%this, %obj, %col, %fade, %pos, %normal) { // Is it a brick? if(%col.getType() & $TypeMasks::FxBrickObjectType) %col.killBrick(); // If not, normal routine. else return parent::onCollision(%this, %obj, %col, %fade, %pos, %normal) } This should kill any brick you shoot with the regular gun, if my memory serves me. --- End quote --- lol, thanks Iban |
| RedGajin:
--- Quote from: Iban on April 15, 2011, 08:42:30 AM ---Nobody in this thread has any idea what they're talking about. function GunProjectile::onCollision(%this, %obj, %col, %fade, %pos, %normal) { // Is it a brick? if(%col.getType() & $TypeMasks::FxBrickObjectType) %col.killBrick(); // If not, normal routine. else return parent::onCollision(%this, %obj, %col, %fade, %pos, %normal) } This should kill any brick you shoot with the regular gun, if my memory serves me. --- End quote --- Ah. Thank you, I will try this out. |
| lilboarder32:
--- Quote from: Iban on April 15, 2011, 08:42:30 AM ---Nobody in this thread has any idea what they're talking about. --- End quote --- I'm going to take this directed at me as I posted before your post. Just because I didn't answer the OP's question, does not insinuate that I don't know what I am talking about. Don't be so general as to avoid wrongly offending people, please. |
| Iban:
--- Quote from: lilboarder32 on April 17, 2011, 05:42:00 AM ---I'm going to take this directed at me as I posted before your post. Just because I didn't answer the OP's question, does not insinuate that I don't know what I am talking about. Don't be so general as to avoid wrongly offending people, please. --- End quote --- I wasn't. You have a massive persecution complex. You being easily offended is also not my responsibility to care for. |
| lilboarder32:
--- Quote from: Iban on April 17, 2011, 11:30:48 AM ---I wasn't. You have a massive persecution complex. You being easily offended is also not my responsibility to care for. --- End quote --- Alright, we dont all take criticism the same. I just had posted before you, and you had referred to "everyone", I apologize for thinking that was directed at me, but I felt some need to either defend myself or clear up confusion. What is a persecution complex? |
| Navigation |
| Message Index |
| Next page |
| Previous page |