Page 3 of 3

Re: Making new units be built by a Comp controlled barracks.

Posted: Fri Apr 13, 2012 8:50 pm
by Darktiger138
Never mind, I got it to work without Boolean variables.

Re: Making new units be built by a Comp controlled barracks.

Posted: Fri Apr 13, 2012 8:59 pm
by 3ICE
So you did want those quests to show up!

Re: Making new units be built by a Comp controlled barracks.

Posted: Fri Apr 13, 2012 9:04 pm
by Darktiger138
I didn't really care whether they showed up.

Re: Making new units be built by a Comp controlled barracks.

Posted: Fri Apr 13, 2012 9:07 pm
by 3ICE
So why do you insist on using quests instead of booleans? The boolean variable type is preferred, because it is faster, takes up less memory, is easier to work with, etc.

Re: Making new units be built by a Comp controlled barracks.

Posted: Fri Apr 13, 2012 9:11 pm
by Darktiger138
Because I don't understand it, to me it just means True or False, that is all, I don't get how you can assign something to something that can mean only 1 of 2 things, and also because I couldn't find the Function that I wanted when the Variables were Boolean type.

Re: Making new units be built by a Comp controlled barracks.

Posted: Fri Apr 13, 2012 9:24 pm
by 3ICE
Quest Enabled = Boolean True
Quest Disabled = Boolean False

Re: Making new units be built by a Comp controlled barracks.

Posted: Fri Apr 13, 2012 9:28 pm
by Darktiger138
But then you cant make

t_set Set Spawn=(Last created quest)

which means that the Spawn variable would be useless.....

Re: Making new units be built by a Comp controlled barracks.

Posted: Fri Apr 13, 2012 9:35 pm
by 3ICE
Yes. And it is a useless variable.

Quests are not for that. They are for putting things in the F9 menu, like so:

Re: Making new units be built by a Comp controlled barracks.

Posted: Fri Apr 13, 2012 9:39 pm
by Darktiger138
Yes, but I know how to make the quest variables work for me, I dont know how to make Boolean variables work...