The VG Resource
Lego War - Printable Version

+- The VG Resource (https://www.vg-resource.com)
+-- Forum: Archive (https://www.vg-resource.com/forum-65.html)
+--- Forum: July 2014 Archive (https://www.vg-resource.com/forum-139.html)
+---- Forum: Creative Zone (https://www.vg-resource.com/forum-86.html)
+----- Forum: Games Development (https://www.vg-resource.com/forum-22.html)
+----- Thread: Lego War (/thread-4121.html)

Pages: 1 2 3


RE: Lego War - Vipershark - 02-05-2009

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?


RE: Lego War - turgilator - 02-05-2009

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


RE: Lego War - Vipershark - 02-05-2009

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?


RE: Lego War - turgilator - 02-06-2009

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


RE: Lego War - Vipershark - 02-07-2009

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.


RE: Lego War - turgilator - 02-07-2009

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.


RE: Lego War - Vipershark - 02-17-2009

hey colton
are you still working on this thing

I'd like to see an update or something