The VG Resource

Full Version: Lego War
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
I understand the whole starcraft thing, yeah.

But uh
Why can't you do the barracks thing
Isn't it as simple as doing a "click this button and create this unit" script?
click the button yeah

i mean assigning jobs like starcraft can... id have to do it kinda like starcraft, where only up to 4 can be queued
that should be relatively simple though right
Can't you do like "clicking this button adds one to variable 'queue'"
And if variable queue >= 4 then don't build a unit?
Well it's programmed differently than that lol, but I can still do it easily.

I just don't really like how restrictive that is :c But I CAN do it
It seems to me to be an extremely simple script

Like this

Set variable queue to zero
When button buildsoldier is clicked, check variable queue
If variable queue is equal to five, do nothing
Else add one to variable queue

And then program from there to make it so that if variable queue is more than zero then build a unit and then subtract one from variable queue once the unit is finished

Fairly simple.
Yes. I know what you mean. I mean... how restrictive that is for BUILDING.

But better yet. I have a better idea. Instead of replacing the mode I like, and the Starcraft mode you like better, I could just put an option on the menu to choose which unit building mode you'll use. Same for the buttons.
hey colton
are you still working on this thing

I'd like to see an update or something
Pages: 1 2 3