- Joined
- Apr 8, 2007
- Messages
- 693
I would like some help with a trigger. The point is to allow a worker class unit to purchase a weapon from a shop, changing the unit into another unit which in my case is a soldier. When the unit is replaced, the weapon would be in their inventory. If they drop and have no weapon, they get changed back into a worker. Same idea works with picking up weapons from the ground. Though I can't seem to get my trigger to work.
Ah fuck wrong section. Well this sort of has to do with getting started making these kinds of triggers.
-
plasma rifle
-
Events
- Unit - A unit Sells an item (from shop)
-
Conditions
- (Item-type of (Matching item)) Equal to Resistance Plasma Rifle
- (Unit-type of (Buying unit)) Equal to Resistance Fighter
-
Actions
- Unit - Replace (Buying unit) with a Soldier using The old unit's relative life and mana
-
Events
Ah fuck wrong section. Well this sort of has to do with getting started making these kinds of triggers.