| Blockland Forums > Modification Help |
| Screwed-up Script. I require assistance. |
| << < (4/6) > >> |
| lordician:
--- Quote from: Kike on November 15, 2010, 03:37:29 PM ---Not work D: Thanks anyways, lordician --- End quote --- Hmm, did it do anything at all? Any console errors? |
| Space Guy:
You're trying to test "%obj.toolAmmo[%obj.currTool]", but if you're using my script for that Parent::onMount is not being called (which sets the initial ammo if you have nome), there are no reload sequences and the maximum ammo amount isn't set in the item datablock. Because of these the ammo is always counted as 0 and it won't go into iron-sights. If you are not using my system then be aware that mine has the variable "toolAmmo" and will conflict with yours if they have any of e.g. Tier Tactical weapons, TF2 Basic Guns installed. |
| lordician:
--- Quote from: Space Guy on November 17, 2010, 11:30:11 AM ---You're trying to test "%obj.toolAmmo[%obj.currTool]", but if you're using my script for that Parent::onMount is not being called (which sets the initial ammo if you have nome), there are no reload sequences and the maximum ammo amount isn't set in the item datablock. Because of these the ammo is always counted as 0 and it won't go into iron-sights. --- End quote --- Perhaps that solved something i had too. :o Should've known. |
| Kike:
Thanks Space, for clarifying the Ammo/Ironsight thng for me. The thing is, I don't want the ammo thing, it raycasts, but no ironsight. Why is dat? |
| Kike:
--- Quote from: lordician on November 17, 2010, 07:35:34 AM ---Hmm, did it do anything at all? Any console errors? --- End quote --- Nope. No errors. My head hurts though. ._.* |
| Navigation |
| Message Index |
| Next page |
| Previous page |