Blockland Forums
Home
Help
Login
Register
Blockland Forums
»
Blockland Forums
»
Modification Help
»
Image State setting
« previous
next »
Print
Pages: [
1
]
Author
Topic: Image State setting (Read 355 times)
heedicalking
July 02, 2011, 06:53:49 PM
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?
Ad Bot
Advertisement
Destiny/Zack0Wack0
July 02, 2011, 09:07:16 PM
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.
heedicalking
July 02, 2011, 09:32:02 PM
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?
Destiny/Zack0Wack0
July 03, 2011, 03:58:26 AM
They're the names of the state to switch to when the ammo state changes.
Also, yep.
heedicalking
July 03, 2011, 08:53:49 AM
Is there a way to check the image state you are currently on?
Print
Pages: [
1
]
« previous
next »
Blockland Forums
»
Blockland Forums
»
Modification Help
»
Image State setting