| Blockland Forums > Modification Help |
| Stating/Animation with Weapons |
| << < (2/3) > >> |
| Daenth:
--- Quote from: Uxie on May 20, 2011, 07:38:26 AM ---I can get confused easily sometimes. So, like: spearReadyX and spearThrowX? Edit: ^ Obviously not because I tried this. ^ --- End quote --- Just use "spearReady" and "spearThrow". Ignore what I said earlier if it didn't make sense. :) |
| Uxie:
--- Quote from: Daenth on May 20, 2011, 07:52:47 PM ---Just use "spearReady" and "spearThrow". Ignore what I said earlier if it didn't make sense. :) --- End quote --- What. That's kinda what ISN'T working. |
| Treynolds416:
--- Quote from: Uxie on May 20, 2011, 09:16:11 PM ---What. That's kinda what ISN'T working. --- End quote --- Your script appears to be using "LightdiscBlueReady" and "LightdiscBlueThrow" |
| Daenth:
Replace --- Code: ---function LightdiscBlueImage::onCharge(%this, %obj, %slot) { %obj.playthread(2, LightdiscBlueReady); } function LightdiscBlueImage::onAbortCharge(%this, %obj, %slot) { %obj.playthread(2, root); } function LightdiscBlueImage::onFire(%this, %obj, %slot) { %obj.playthread(2, LightdiscBlueThrow); Parent::onFire(%this, %obj, %slot); } --- End code --- with --- Code: ---function LightdiscBlueImage::onCharge(%this, %obj, %slot) { %obj.playthread(2, spearReady); } function LightdiscBlueImage::onAbortCharge(%this, %obj, %slot) { %obj.playthread(2, root); } function LightdiscBlueImage::onFire(%this, %obj, %slot) { %obj.playthread(2, spearThrow); Parent::onFire(%this, %obj, %slot); } --- End code --- |
| heedicalking:
Don't use find and replace. --- Code: ---%obj.playthread(2, spearReady); --- End code --- That is the animation called when you charge the spear. It's not a spear animation, it's a player animation. All the bottom scripts call player animations, not item animations. There is not LightdiscBlueReady player animation, so it does nothing. |
| Navigation |
| Message Index |
| Next page |
| Previous page |