View Full Version : creat new units
masterd638
06-29-2004, 5:20 PM
OK this is what i want, i set the location for a unit to be taken to, it creates troops once there, it is preserved and it continues to replace the troops no matter what, what i want it to do is only replace the troops if one dies, so that it keeps the original amount created say 25 troops and only creates when one of those dies
Sikawtic
06-29-2004, 5:38 PM
OK this is what i want, i set the location for a unit to be taken to, it creates troops once there, it is preserved and it continues to replace the troops no matter what, what i want it to do is only replace the troops if one dies, so that it keeps the original amount created say 25 troops and only creates when one of those dies make a location, say location A. heres the trigger:
Condition:
player (w/e) controls at most (one number below the number u want) of (lessay zergling) at location A.
Action:
create 1 (zergling) at location A
preserve trigger
comment: ???? w/e u want
EdvardMunch
06-29-2004, 9:38 PM
Actually, that would be brings. So
Player x brings at most 24 [unit] at "My location"
masterd638
06-29-2004, 11:50 PM
thank you for the help, however it is still not working, right it needs to only make 25 units then only creates more when one dies
Kejardon
06-30-2004, 1:09 AM
If you want the units to spawn and be able to walk outside of the location without spawning more units, you'll have to use "Player controls at most x units" rather than "Player brings at most x units to location"
masterd638
06-30-2004, 1:15 AM
k thanks for the help i fixed that now one more ?, and hopefully it is the last, i want to creat a super hero, must have more than the usual attack and hit points everything i have tried does very little or nothing at all
peace_machine
06-30-2004, 7:16 AM
Actually that would be commands. So.
Player commands atmost # units.
^^
The super hero thing would require you to spawn a seperate unit set up under unit and hero settings. i.e. you could have 25 marines and 1 Jim raynor.
vBulletin® v3.7.2, Copyright ©2000-2008, Jelsoft Enterprises Ltd.