HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Triggered event when purchasing units?

08-03-2002, 02:39 AM#1
Guest
What event is triggered when a unit is purchased, for example from a Mercenary Camp? These units are neither "summoned" nor "finished training" (unless I've been horribly mistaken in my testing).
If no such event exists, for my purposes I believe a "Unit Enters Region (Entire Map)" will suffice, although I haven't actually tried this yet. I find this a little inelegant anyway.

Also, is there any trigger action with which I can control the quantity in stock of an item or unit being sold at shops?
08-03-2002, 03:53 AM#2
Guest
I know that quantity and stock of both items and mercenaries can be edited by editing the corresponding building in the unit editor. Addition properties can be edited by opening up the unit properties dialogue of the specific unit.

Do you just want to be able to put some extra mercenaries to be sold or are you trying to do something else?
08-03-2002, 05:53 AM#3
Guest
What would like to do is allow triggers to alter the stock of an item/unit during gameplay, based on other (easily triggerable) conditions. Instead of units always restocking after a set period of time after being sold, I would like to manually restock them with a trigger.
Acually to be more precise, I would prefer them to restock "naturally" over time (as they do), but also be able to fire some trigger that would guarantee that a given unit/item is NOT out of stock.