Our Network: VGFacts - DidYouKnowGaming? - The Spriters Resource - Muscle Tower


User(s) Viewing This Thread: 1 Guest(s)
Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Lego War
Author Message
Vipershark Online
Smells like ~Desire~
***
Moderators

Posts: 5,124
Joined: May 2008
Reputation: 115
Post: #31
RE: Lego War
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?

02-06-2009 02:28 AM
Find all posts by this user Thank this post Quote this message in a reply
Login or Register to remove these ads!
turgilator Offline
milkshake

Posts: 62
Joined: Jan 2009
Post: #32
RE: Lego War
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
02-06-2009 02:51 AM
Find all posts by this user Thank this post Quote this message in a reply
Vipershark Online
Smells like ~Desire~
***
Moderators

Posts: 5,124
Joined: May 2008
Reputation: 115
Post: #33
RE: Lego War
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?

02-06-2009 04:13 AM
Find all posts by this user Thank this post Quote this message in a reply
turgilator Offline
milkshake

Posts: 62
Joined: Jan 2009
Post: #34
RE: Lego War
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
02-06-2009 01:46 PM
Find all posts by this user Thank this post Quote this message in a reply
Vipershark Online
Smells like ~Desire~
***
Moderators

Posts: 5,124
Joined: May 2008
Reputation: 115
Post: #35
RE: Lego War
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.

02-07-2009 06:14 AM
Find all posts by this user Thank this post Quote this message in a reply
turgilator Offline
milkshake

Posts: 62
Joined: Jan 2009
Post: #36
RE: Lego War
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.
02-07-2009 02:42 PM
Find all posts by this user Thank this post Quote this message in a reply
Vipershark Online
Smells like ~Desire~
***
Moderators

Posts: 5,124
Joined: May 2008
Reputation: 115
Post: #37
RE: Lego War
hey colton
are you still working on this thing

I'd like to see an update or something

02-17-2009 11:17 PM
Find all posts by this user Thank this post Quote this message in a reply
Post Reply 


Forum Jump:


 Quick Theme:


Login or Register to remove this ad!