Staredit Network

Staredit Network -> UMS Assistance -> 2 Questions
Report, edit, etc...Posted by RandomNoob on 2004-08-29 at 22:27:31
Hi. My first question is how to make hallucination that doesnt lose energy, or lasts forever?

Second questions is I wanna make a unit after the unit cap has been reached. So lets say i wanna make a scout when there are max units out. The second a unit dies i want the scout to spawn. Is that possible?
Report, edit, etc...Posted by phatdiddy on 2004-08-29 at 22:32:00
You can't create hallucinations taht last forever. What you could do is give them a certain amount of energy so that you know how long it will take for it to run out. THen when that time ends recreate it. You'd have to do something like that since hallucinations can't be detected in like bring unit and stuff.

And just create the unit with preserve trigger.

CONDTIONS:
Whatever conditions you want
ACTIONS:
Create 1 scout for current player at location.
Preserve trigger.

When the trigger fires again it'll attempt to create the unit, if it's not maxed then the unit will get created, if it is then it just won't be created. With hyper triggers that'll fire faster.
Report, edit, etc...Posted by Vindexus on 2004-08-29 at 22:51:34
QUOTE(phatdiddy @ Aug 29 2004, 09:32 PM)
Second questions is I wanna make a unit after the unit cap has been reached. So lets say i wanna make a scout when there are max units out. The second a unit dies i want the scout to spawn. Is that possible?

You're contradicting yourself, you're saying that you want to create a unit after the max amoutn of units has been reached (1700 units), which is impossible. And you're saying that you want the scout to be create the second a unti dies. Which one is it?

For the second thing do this

QUOTE
Players
- Humans
Conditions
- Current player has suffered at least 1 deaths of men
Actions
- Create 1 scout at scout spawn for current player
- Subtract 1 death of men for current player
- Preserve Trigger
Report, edit, etc...Posted by RandomNoob on 2004-08-30 at 00:27:14
I'll make my second question more clear.
There are 1700 units on scene and one important unit will not spawn because it cant create anymore units. So I want the map to wait until there is room to spawn this important unit, and spawn it.
Report, edit, etc...Posted by ShadowBrood on 2004-08-30 at 03:21:32
QUOTE(RandomNoob @ Aug 29 2004, 11:27 PM)
I'll make my second question more clear.
There are 1700 units on scene and one important unit will not spawn because it cant create anymore units.  So I want the map to wait until there is room to spawn this important unit, and spawn it.

thats possible i guess but id have to think how you could do that. you could have the scout spawn constantly in a preserve switch until the player controls the scout then clear the switch
Report, edit, etc...Posted by Vindexus on 2004-08-30 at 05:14:20
Add the condition All Players command at most 1699 any unit.
Report, edit, etc...Posted by .Coko[CK] on 2004-08-30 at 07:30:12
Hall's are hard to control, though maybe try setting their energy to zero when you make them...That works for Broodlings, maybe it work for them too.
Report, edit, etc...Posted by phatdiddy on 2004-08-30 at 09:06:03
Hallucinatin energy is different than normal energy so I don't think the trigger will work on it, nor will creating it with properties. Plus the broodling thing is done by just creating them, not creating them with properties set as 0% energy.

And do you want the scout to spawn after another unit dies. Or maybe you only want it to spawn once the map has maxed? I'm still not sure what you mean.
Report, edit, etc...Posted by .Coko[CK] on 2004-08-30 at 09:43:39
He means that he wants a special unit that is important to the map to still be able to spawn if the map is maxed out by waiting for a unit to die and taking its place, otherwise it will not spawn or make loads of those annoying...unplaceble crap!

Yeah, thought as much, shame really, but there you go! Just don't use too many Hall @)
Report, edit, etc...Posted by phatdiddy on 2004-08-30 at 10:04:16
O ok, then just have conditions as Players command at most 1699 units. Then create the unit in the actions.
Report, edit, etc...Posted by .Coko[CK] on 2004-08-30 at 10:09:08
And if you want it to only activate at a certain time, add a Switch Set into the Conditions for it, plus the rest, and in the Actions Clear that Switch.
Next Page (1)