| Blockland Forums > Modification Help |
| Stunstick tumble. |
| << < (4/6) > >> |
| Destiny/Zack0Wack0:
--- Quote from: MegaScientifical on June 05, 2011, 04:41:32 AM ---It's the <pre></pre>. Doesn't have wrapping. It's doing a major, massive, annoying pagestretch. --- End quote --- It doesn't even use a pre tag. It has text wrapping. Your browser sucks. |
| otto-san:
--- Quote from: Butler on June 04, 2011, 09:31:03 PM ---So, whiteout for 3 milliseconds and tumble for 3 seconds? I assume this: --- Code: ---(%time / 1000) --- End code --- Is a math operation in which the resulting value would be 3 milliseconds. --- End quote --- whiteOut doesn't take time, does it? It takes amount, doesn't it? I don't know, someone correct me if I'm wrong. |
| MegaScientifical:
--- Quote from: Destiny/Zack0Wack0 on June 05, 2011, 08:52:07 AM ---It doesn't even use a pre tag. It has text wrapping. Your browser sucks. --- End quote --- There's <pre></pre> tags in the Code section. Check. |
| Destiny/Zack0Wack0:
--- Quote from: MegaScientifical on June 05, 2011, 09:45:56 PM ---There's <pre></pre> tags in the Code section. Check. --- End quote --- Where? |
| otto-san:
--- Quote from: Destiny/Zack0Wack0 on June 07, 2011, 03:15:57 AM ---Where? -snip- --- End quote --- --- Quote ---</td> </tr></table> <hr width="100%" size="1" class="hrcolor" /> <div class="post">I just need to know why this doesn't work. I can't figure it out. then again, I dunno what I'm doing either, so I'ma hoping to learn something as a result of this too. My part is the part commented out.<br /><br /><div class="codeheader">Code:</div><div class="code">package stunstick<br />{<br />function stunstickProjectile::OnCollision(%this, %obj, %col, %fade, %pos, %normal)<br />{<br /><span style="white-space: pre;"> </span>if(%col.getClassName() $= "Player" || %col.getClassName() $= "AIPlayer")<br /><span style="white-space: pre;"> </span>{<br /><span style="white-space: pre;"> </span><span style="white-space: pre;"> </span>%col.setWhiteOut(1);<br /><span style="white-space: pre;"> </span>}<br />parent::Oncollision(%this, %obj, %col, %fade, %pos, %normal);<br />}<br />/*<br />function stunstickProjectile::OnCollision(%this, %int)<br />{<br /><span style="white-space: pre;"> </span>if(%col.getClassName() $= "Player" || %col.getClassName() $= "AIPlayer")<br /><span style="white-space: pre;"> </span>{<br /><span style="white-space: pre;"> </span><span style="white-space: pre;"> </span>tumble(%this,%int);<br /><span style="white-space: pre;"> </span>}<br />parent::Oncollision(%this, %int);<br />}<br />*/<br />};<br />ActivatePackage(stunstick);<br /></div></div> </td> </tr> --- End quote --- no <pre> or </pre> though :cookieMonster: |
| Navigation |
| Message Index |
| Next page |
| Previous page |