| Blockland Forums > Suggestions & Requests |
| [Request] Infinite items |
| << < (3/7) > >> |
| lordician:
--- Quote from: Space Guy on February 26, 2010, 04:48:50 PM --- --- Code: ---package HEGrenadeOverwritePackage { function hegrenadeImage::onFire(%this, %obj, %slot) { %obj.playthread(2, spearThrow); WeaponImage::OnFire(%this, %obj, %slot); } }; activatePackage(HEGrenadeOverwritePackage); --- End code --- --- End quote --- So close, yet so far. D: |
| Demian:
I tried lordician's and Space Guy's code and followed heedicalking's instructions. Both did the same thing. I charge the grenade, throw it, after 1 second the grenade disappears from my hand, but not from the inventory. As such, I cannot throw the grenade again. I move one inventory slot down for another grenade, still no grenade in my hand. I move down one more and then I have a functional grenade in my hand. |
| Space Guy:
How are you running the code? |
| Demian:
Enabling the HE Grenade as a normal add-on? |
| Space Guy:
So where in the file are you putting the changes? Attach the cs file or something. |
| Navigation |
| Message Index |
| Next page |
| Previous page |