Author Topic: Image State setting  (Read 355 times)

How would I go about setting a certain image state when I right click, or just in general. Lets say I want to set it to state 7, how would I do that?

There's no way to set it to a certain state, the only thing you can do is trigger a no ammo state on the object and then do what you want in the noammo state. If you want to use this method, take a look at Tier Tactical or any other ammo/weapon mod.

whats the no ammo state like what would i put in to call it as that? would it be the:
Code: [Select]
   stateTransitionOnAmmo[9] = "Ready";
   stateTransitionOnNoAmmo[9] = "PreReload";
and what are the args for the setimageammo function? is the first one the image slot and the second true or false for ammo?

They're the names of the state to switch to when the ammo state changes.
Also, yep.

Is there a way to check the image state you are currently on?