HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Glitch when using LastOrder with AutoIndex

07-18-2009, 02:17 PM#1
ToukoAozaki
When using LastOrder with AutoIndex instead of UIU,

call CreateUnit(Player(0), 'hmpr', 0, 0, 0) will display "AutoIndex error: Priest is a filtered unit".

As LastOrder officially uses UIU, and UIU has no such debugging messages, I can't report this to either threads. Unfortunately, there seem to be no workaround to this...

Added: Same thing happens for training... lol
07-18-2009, 03:04 PM#2
DioD
before your modifications system works well.

soo, dont modify it.
07-18-2009, 03:19 PM#3
ToukoAozaki
Quote:
Originally Posted by DioD
before your modifications system works well.

soo, dont modify it.

sarcasm?
07-18-2009, 05:16 PM#4
DioD
no sarcasm at all, its easy to broke something if you dont know how to use it.

post your modifications...
07-18-2009, 05:38 PM#5
Rising_Dusk
I believe the problem might be somewhere with the undefend orders and the LastOrder library. Try adding 852056 (undefend) as a filtered order id in the LO library. There are a lot of add-ons to AutoIndex (TransportEvents/etc.) that if you use, I have no idea the interaction they might have with LastOrder.
07-18-2009, 06:55 PM#6
ToukoAozaki
Quote:
Originally Posted by DioD
no sarcasm at all, its easy to broke something if you dont know how to use it.

post your modifications...

library LastOrder needs AutoIndex
This is all. The only difference is the source of GetUnitId().

Quote:
Originally Posted by Rising_Dusk
I believe the problem might be somewhere with the undefend orders and the LastOrder library. Try adding 852056 (undefend) as a filtered order id in the LO library. There are a lot of add-ons to AutoIndex (TransportEvents/etc.) that if you use, I have no idea the interaction they might have with LastOrder.

I figured out the problem; actually it is related to default autocast in object editor. Seems that the orders are given "before" CreateUnit returns (or Enter event fires)...
07-23-2009, 03:00 PM#7
Rising_Dusk
Well that's strange and quirky. Is this for any autocast ability that is set to default on by that OE slot above the Ability List?