Can you make a hallucinated unit stay forever without renewing it?
*breathes in a lung full of air* no
You could use a HP detection system that when the energy of the unit gets to be one you could set up a trigger like this:
| Trigger |
| Conditions: |
| ¤ Unit energy is exactly 1 |
| Actions: |
¤ Center location "x" on unit at "anywhere"
|
¤ Remove unit from location "x"
|
¤ Create a unit at location "x" with 100% energy
|
| ¤ Preserve Trigger |
This might not be the way you had in mind but this will work I believe. I used to do it this way. Hallucinations cannot be detected with triggers or affected by them I think. And Josh, that's unit energy, not Hallucinations.
Same way as broodling, just create it with properties hallucinated and 0% energy.
QUOTE(urmom @ Jan 3 2006, 08:45 PM)
Hallucinations cannot be detected with triggers or affected by them I think. And Josh, that's unit energy, not Hallucinations.
[right][snapback]397841[/snapback][/right]
DOH...
Why do I always mix things up?...Hallucination can be affected by actions, but not detected by conditions.

try an set the unit energy to 100 percentz0rs and keep it that way
I'm pretty sure what a hallucination has isn't actually "energy", in the sense that energy is mana for casting spells; so setting energy to 100% using triggers actually doesn't work. A replacement of the hallucination every so often would work, but may be a little impractical. That said, I can't think of a better way of doing what you want to do...
QUOTE(HeRtZ @ Jan 4 2006, 03:08 AM)
try an set the unit energy to 100 percentz0rs and keep it that way
[right][snapback]398145[/snapback][/right]
You cannot set properties for hallucinations. Also hallucinations are not detected when entering locations just so you know.
If you exactly calculate the hallucination's duration then may be you could use exact death triggering a few death counters before it dies to replace it... i guess it can be done...
Addition: You can center them locations??? if not nvm...