- Joined
- Nov 12, 2006
- Messages
- 765
I am in the process of making a space battle cinematic for my Mandalorian Wars campaign. I am having difficulty making units attack other. They simple don't do it. Here is the information
I have invisible Laser and Hardpoint units. They both use the model file .mdl
The Laser unit is invisible, however it and several others are placed on where the laser cannons should be on a ship (used as unit, the ship unit itself has no attack). The laser cannons are supposed to be grouped up in the specific ships "Laser Ship group". This is the same for the "Hardpoint Ship Group".
The lasers are supposed to randomly attack a random unit from the specific hardpoint group.
Their are 2 Attacking ships, 1 ship not doing anything. Each ship has its own unit groups (laser group and hard point group).
Hardpoint units have a classification of Undead
Laser units have a classification of Mechanical
Setting the hardpoints
Setting the Lasers
+rep to anyone with good ideas, even if they dont work.
I have invisible Laser and Hardpoint units. They both use the model file .mdl
The Laser unit is invisible, however it and several others are placed on where the laser cannons should be on a ship (used as unit, the ship unit itself has no attack). The laser cannons are supposed to be grouped up in the specific ships "Laser Ship group". This is the same for the "Hardpoint Ship Group".
The lasers are supposed to randomly attack a random unit from the specific hardpoint group.
Their are 2 Attacking ships, 1 ship not doing anything. Each ship has its own unit groups (laser group and hard point group).
Hardpoint units have a classification of Undead
Laser units have a classification of Mechanical
Setting the hardpoints
-
Actions
-
Unit Group - Pick every unit in (Units in Star Desroyer Left <gen> matching (((Unit-type of (Picked unit)) is Undead) Equal to True)) and do (Actions)
-
Loop - Actions
-
Unit Group - Add (Picked unit) to HardStarLeft
-
-
-
Unit Group - Pick every unit in (Units in Star Desroyer Middle <gen> matching (((Unit-type of (Picked unit)) is Undead) Equal to True)) and do (Actions)
-
Loop - Actions
-
Unit Group - Add (Picked unit) to HardStarMid
-
-
-
-------- ------------------------------------------------------------------------------------ --------
-
Unit Group - Pick every unit in (Units in Flagship Left <gen> matching (((Unit-type of (Picked unit)) is Undead) Equal to True)) and do (Actions)
-
Loop - Actions
-
Unit Group - Add (Picked unit) to HardFlagLeft
-
-
-
Unit Group - Pick every unit in (Units in Flagship right <gen> matching (((Unit-type of (Picked unit)) is Undead) Equal to True)) and do (Actions)
-
Loop - Actions
-
Unit Group - Add (Picked unit) to HardFlagLeft
-
-
-
-------- ------------------------------------------------------------------------------------ --------
-
Setting the Lasers
-
Actions
-
Unit Group - Pick every unit in (Units in Flagship Left <gen> matching (((Unit-type of (Picked unit)) is Mechanical) Equal to True)) and do (Actions)
-
Loop - Actions
-
Unit Group - Add (Picked unit) to LaserFlagLeft
-
-
-
Unit Group - Pick every unit in (Units in Flagship Left <gen> matching (((Unit-type of (Picked unit)) is Mechanical) Equal to True)) and do (Actions)
-
Loop - Actions
-
Unit Group - Add (Picked unit) to LaserFlagRight
-
-
-
-------- ------------------------------------------------------------------------------------ --------
-
-
Actions
-
Unit Group - Pick every unit in LaserFlagLeft and do (Actions)
-
Loop - Actions
-
Unit - Order (Picked unit) to Attack (Random unit from HardStarLeft)
-
-
-
Unit Group - Pick every unit in LaserFlagRight and do (Actions)
-
Loop - Actions
-
Unit - Order (Picked unit) to Attack (Random unit from HardStarMid)
-
-
-
-------- -------------------------------------------------------------------------------------------------------- --------
-
-------- -------------------------------------------------------------------------------------------------------- --------
-
-------- -------------------------------------------------------------------------------------------------------- --------
-
Unit - Order Laser 2 Red 500 0355 <gen> to Attack (Random unit from HardFlagLeft)
-
Unit - Order Laser 2 Red 500 0356 <gen> to Attack (Random unit from HardFlagLeft)
-
Unit - Order Laser 1 Red 630 0384 <gen> to Attack (Random unit from HardFlagLeft)
-
Unit - Order Laser 1 Red 630 0385 <gen> to Attack (Random unit from HardFlagLeft)
-
Unit - Order Laser 1 Red 630 0386 <gen> to Attack (Random unit from HardFlagLeft)
-
-------- -------------------------------------------------------------------------------------------------------- --------
-
-------- -------------------------------------------------------------------------------------------------------- --------
-
-------- -------------------------------------------------------------------------------------------------------- --------
-
+rep to anyone with good ideas, even if they dont work.