| 10-23-2003, 03:41 AM | #1 |
1. Is there a way to que up commands for units via triggers? (much like if you held down shift ingame while giving commands) 2. If a unit is paused, then issued a command via triggers, then unpause, will it carry out the command? 3. Is there a way to order a computer player to purchase something from a neutral building via triggers? 4. When you give a unit "Wander (neutral)" it wanders around every now and then. My question is, if you gave it 2 sets of the ability (in other words gave it the ability 2 times) would it wander around more? 5. If I create a trigger catagory (folder) and make a trigger in the folder, but later I move the trigger to anothre "folder" will other triggers that run that trigger still run it? PS I did search the forum, but if you know of a thread that answers these questions, just point me to it. |
| 10-23-2003, 03:42 AM | #2 |
Well, right off my head (not in windows atm), number 2 = no. Pausing a unit and giving it orders should do nothing. |
| 10-23-2003, 04:56 AM | #3 |
5. You won't encounter any problems moving triggers between categories. You'll only encounter inconsistencies if you move them between maps. 4. I don't think it would do anything. Unfortunately, looking at the "Wander" ability in the Ability Editor (under "special"), it doesn't seem to have any parameters whatsoever, either. I think if you want an exaggerated Wander, you'll have to accomplish it with triggers. |
| 10-23-2003, 05:34 AM | #4 |
answers for not that i know of means i haven't actually tried but i don't think so. 1. not that i know of. 2.i'm not sure about while paused but you could issue the command directlky before you pause it. that would work. i used it many times. 3.again not that i know of. 4.i highly doubt it.....i actually thought of this same idea maybe 1 week ago but never tried it because i just doubt it. a lot. 5. no it wouldn't change a thing |
| 10-23-2003, 08:14 PM | #5 | |
Quote:
I tried that after you said something, and it didn't work. I had about 3 units, that needed 3 diff orders but I wanted them to do their orders at the same time, so via what you said I gave them each their order then paused them right after. Then I did a "Pick all units in region matching condition" and unpaused them, and they just stood there. As for #4, that answer is YES they run around more often with 2 wanders... I think if you put 3 or 4 on one unit it would prolly never stop walking. I thought it might because 1 wander makes it randomly walk around. So its like this. Lets say in wander ability theres a 2 in 10 chance it will walk somewhere every second. If it has 2 wanders then it has a 2 in 10 chance, but it has this chance 2 times ever second instead of 1. Does anyone have a sure answer about #1? Has anyone ever tried to do #1? #3 isn't that important, I can just make a trigger that takes the money away from the computer player and gives them the item. Thanx for the answers so far. :D |
| 10-25-2003, 06:27 AM | #6 |
well i was just searching for this post because i found something new. but it seems you have the problem solved. i will post what i found anyway tho. cuz i'm a cool guy and i do things like that. i found the tornado has a wander abilty but it is not the same as the normal wander. it keeps units moving at all times and it also lets a unit go anywhere the want. such as thru buildings and under water. it's kinda funny to see a hermit crap running around like crazy. makes me laugh. but too bad wander works 2 times. actually. not 2 bad. cuz i am going to use that in a map i am making. so it's good. |
| 10-25-2003, 06:56 AM | #7 |
hmm.. Well there is a slight diff between the 2 wanders (besides the obviouse "Tornado doesn't stop moving") and that is the fact that a create with "Wander (Neutral)" Will stop wandering if it comes in contact with something it can interact with. Also, units with "Wander (Neutral)" can be issued orders (and that includes Patrol AND Hold position) and the issued order will OVER RIDE the wander. I know you can issue the command to move to a unit that has the tornadoes wander.. but can that unit be issued the order to hold position? and will it obey that order until told to stop? By "can interact with" here are 2 examples: 1. If the unit has "Heal" set to autocast and wanders near a VALID heal target, it WILL stop and cast heal on the target. 2. If the unit gets near an enemy unit it will stop wandering and start attacking the enemy unit, and it will not restart its wander until the enemy unit is dead. I had used the tornado's wander before, but until you just mentioned it I had totally forgot about it. |
| 10-25-2003, 08:49 AM | #8 |
well for number one i suppose you could use regions and 'issue order to whatever targeting centre of region x' 'unit enters region x, unit is equal to whatever, issue order to triggering unit targeting region y' etc. what do you want exactly? |
| 10-25-2003, 09:04 AM | #9 |
I want exactly as it stated, que up commnads. Using regions in that way is Not queing up commands, thats issuing commands to a unit after they finish their previous command (most of the time they didn't even get to finish thier other command before thier issued the next command.) An example of what I mean is, I have a trigger that makes a unit Attack move to a RANDOM position in a HUGE region. I would like to issue a que order with the second command to Patrol to another RANDOM position in the same region. But I would like to issue the second order before the first one is even finished. But still have the first order finish before the second one is started. The unit is moving RANDOMLY (so preplaced regions will NOT work) and is staying in 1 region (so "unit enters region" will NOT work because I will not overlay my region with hundreds of tiny regions and then detect where the order was issued to and then make activate that region in a "Unit enters region" event). In other words, I would like to know if its possible to que commands PERIOD, no work arounds. I know all the "Work arounds" and none do what I want, I want to actually que the commands. Its as simple as that. And lastly, I want to know because I find that such a thing would come in handy in LOTS of other ways too. |
