W
WilliamShakesbeer
Guest
How do I do it? I'm trying to pick a random value from an enum for an object at the creation of that object.
Do I have to set that enum's value in the create event (to zero) and then make it random in a step event? Or can I set that random value right away in the create event.
And, what is the actual syntax? I can't find it anywhere.
value = random(enum); ??
Doesn't seem to work for me.
As always, thanks!!
Do I have to set that enum's value in the create event (to zero) and then make it random in a step event? Or can I set that random value right away in the create event.
And, what is the actual syntax? I can't find it anywhere.
value = random(enum); ??
Doesn't seem to work for me.
As always, thanks!!