My bad it does work I just forgot to convert the string to a number before storing it to a numeric variable. Lack of beer last night.
Moving on to a probable feature request. I am going to be able to do one of 2 explosion sequence that I want. The other I don't think there is anyway to do. Something along the same lines but instead of in-sequence for the coordinates I wanted a few random ones. The problem is I can't think of any way to get multiple when-arguments to return an argument at the same position in the list. So if I have say a list of 10 explosion points that I want to happen randomly and I use rand-multi for the x coordinate there is no way I can think of to get the corresponding y and z coordinates.
So I was thinking what about a when-arguments which would do something like this:
When-arguments
-->random-of
----->3 (number of arguments in a group)
----->200
----->0
----->0
----->-200
----->0
----->0
----->400
----->0
----->0
----->-400
----->0
----->0
-->true
-->modify-variable
---->x
----><argument>
-->increment-argument (goes to the next argument in the list)
-->modify-variable
---->y
----><argument>
-->increment-argument
-->modify-variable
---->z
----><argument>
-->invalidate-arguments (invalidates the group of arguments)
This would basically only allow random-of to pick items 2, 5, 8, etc in the list giving you control to increment to the next item in the list and store the value. Of course it wouldn't just be for random-of it could be used with in-sequence, number-of, etc. I've already run into 3 places in this one mission where it would come in handy.
Of course an implementation of array variables and functions would probably be even better but that would be a little more then a feature request.
