Blockland Forums > Modification Help
All of my problems on one thread. (renewed)
<< < (4/8) > >>
Red_Guy:

--- Quote from: Dy mar on March 17, 2010, 10:07:21 PM ---2: I am having problems getting a variable to effect changes in the state system. Is this even possible? Is there a boolean comand (if true / false) for the state system?

--- End quote ---
What are you trying to accomplish here?

mabye there is another way to do the same thing
Dy mar:
I am trying to have ammo, so i made a custom variable. All i need is to be able to check that variable in the state system to go to "noAmmo" or something. I believe there is an ammo system, but i have no idea how to use it.
Red_Guy:
Well torque has a built-in ammo/inventory system.  But I dont know if Badspot took it out when he made blockland or not.

Look through the torque functions guide to see what you can find in there.  or if somebody else knows for sure - please say so.
Bauklotz:

--- Quote from: Red_Guy on May 04, 2010, 05:38:37 PM ---Well torque has a built-in ammo/inventory system.  But I dont know if Badspot took it out when he made blockland or not.

Look through the torque functions guide to see what you can find in there.  or if somebody else knows for sure - please say so.

--- End quote ---

I have TGE Demo and TGEA Full, I could possibly dig out the ammo code for you, I saw it working, and it's awesome. Weapons do require one extra model for ammo clips though, but still.
Dy mar:
i want ammo as simple as it gets. all i need is a variable. is it possible to have a boolean value affect the next move in the state system. If [this variable] = true, then: so on, but in torque script... :/

I am making a weapon that you pump to fire. it is a rapid fire weapon, so i worked out the state system scripts to make a var less each fire. when it runs out, i want the weapon to animation pump and reset var. also if you stop firing, it would reset the var. prob is that i cant effect the system with that var...
Navigation
Message Index
Next page
Previous page

Go to full version