perhaps Im thinking too java, but is there any way to store objects or their identifiers in a variable and create them with these informations? Till now Im just able to create an object over the system-action, but in this case you cant use a variable/string.
Case: Create Arrow depending on the ammo you have (many possible ammos!). After Creating it, there should be some actions, like turning, setting velocity... so I don't want to test all possible ammos with a condition and than turn and move them like:
if ammo1--> create arrow1,turn, setvelocity,move
if ammo2 --> create arrow2, turn, setvelocity, move
I just thought about making a ghost arrow and put the different arrows in a family and both in a container.
but that would be even a lot of conditions with just one action:
if ammo1--> create arrow1
if ammo2--- create arrow2
turn, setvelocity,move container
im searching for this:
turn, setvelocity, move object
Or any other idea?
Thank you very much!