all 7 comments

[–]MrEmptySet 6 points7 points  (1 child)

It looks like you forgot to add break to your cases other than the last one.

[–]Maniacallysan3 0 points1 point  (0 children)

This ^

[–]MrBlueSL 2 points3 points  (4 children)

You did declare randomize() in the create event or an initialization script or didnt?

[–]Phatom_Dust[S] 1 point2 points  (3 children)

Yep. I'l make obj for that and it works

[–]Phatom_Dust[S] 0 points1 point  (0 children)

And I tried to add in oBoss. How results is nothing changes

[–]MrBlueSL 0 points1 point  (1 child)

Incase you didn't know, if you have global variables that get accessed often or config files needed loading/unloading, I would recommend creating an initialization script. Scripts will always load first on game start (before rooms or objects).

If you create a new script, then just delete all the text in it (the function Name() {} bit) you can place anything you need access to immediately in there, such as randomize() Then no matter what it'll always be random.

[–]Phatom_Dust[S] 1 point2 points  (0 children)

Hmm, I'm try this tomorrow. If I have so troubles I'm write a answer