Welcome Guest [Log In] [Register]
We hope you enjoy your visit.


You're currently viewing the Ultimate 3D Community as a guest. This means that you can only read posts, but can not create posts or topics by yourself. To be able to post you need to register. Then you can participate in the community active and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.

Join our community!

If you are already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
Gml error; zombies round; making Cod zombies style rounds
Topic Started: Dec 27 2012, 05:27 AM (126 Views)
Magnar
Member Avatar
That guy
[ *  *  *  * ]
Im making a zombies game, and am using my own font to display rounds
the font has only 5 characters, they are in tally marks. after round 10 in zombies, it will change to the regular Impact font.

My code
 
if 11>global.rounds>5{shownround="5" +string(global.rounds)-5;}
if 11<global.rounds<5{shownround=global.rounds;}
if global.rounds>10{SetFont("Impact",2,74,1,255,0,0,255);}
Step()

shownround goes into the draw event, but the error happened when i made this
ERROR
 
SOLVED

EDIT: I solved the error, but now when I get to round 6-10, it will not show the round
DOUBLE EDIT: it is completely resolved, I found a retarded mathematical mistake
Edited by Magnar, Dec 27 2012, 07:49 AM.
roses are grey,
violets are grey,
im colorblind,
fml.
Offline Profile Quote Post Goto Top
 
Reikyrr
Forum God
[ *  *  *  *  *  * ]
Questions like these belong in off topic, its not about u3d, its about gml, you said so yourself.
~Inspirational quote~
Offline Profile Quote Post Goto Top
 
« Previous Topic · Questions about Ultimate 3D · Next Topic »
Add Reply