HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

help needed for 2 more things

02-17-2003, 04:46 PM#1
Fragmentation
1) any spell editors out there that can copy spells and make a new one like in one of the spell tutorials the guy is teaching how to lets say make 2 death coils from the original and then editing that death coil copies how u want it, therefore u actually add spells, any spell editors that can do this?

2) need help on a trigger where i have 2 teams and i need a trigger that defeats team 2 or force 2 which is the evil guys once they die 12 times, not 12 times from jus 1 person on team 2 but like a combined death toll of 12

anyone can help me, please do

thanks
02-17-2003, 04:52 PM#2
DaKaN
1. get excel and just copy the death coil to the bottom of the entire sheet and edit it (dont forget to change the ID's the only ID that needs to stay the same is the cetner one, that tells the spell how it will act)

2. At map int, add all the players that are on force 2 to a player group, lets say Force2.
Make a trigger that when any one of those players loose a unit, Conditions
(anything that you need)
Actions
Set Varible (integer) = Arthmatic(Varible + 1)
if Integer Comparision ( Varible >= 12 then do) Pick every player in player group Force2 and do game defeat, else do nothing
02-17-2003, 05:43 PM#3
Fragmentation
ok let me translate that into what i think ur saying correct me on any mistakes

event
-map int

condition
-dying unit is in (units owned by an ally of player 12 brown) equal to true
-dying unit is a hero equal to true

action
-add all players in force 2 into player group force2
and the other 2 variable triggers


i think this is very wrong, correct me if i am and describe the trigger more thoroughly please if u can
02-17-2003, 06:34 PM#4
SkylineGT[FB]
how do u mean defeat? like if a player 12 hero dies 12 times? or all 12 player 12 bases r killed?
02-17-2003, 06:41 PM#5
Electromancer
Um... Map Initialization only works for right when the map loads up, its not permenent. You should do "Unit- Unit owned by player dies" instead. But im not exactly sure what your trying to do with the trigger, but this right here will fix your problem.
02-17-2003, 06:44 PM#6
DaKaN
no i mean in the setup trigger where you run alot of things at the map int

then you add the line to make a player group out of force 2, the other things are in a seperate trigger

Make a trigger that when any one of those players loose a unit, Conditions
(anything that you need)
Actions
Set Varible (integer) = Arthmatic(Varible + 1)
if Integer Comparision ( Varible >= 12 then do) Pick every player in player group Force2 and do game defeat, else do nothing
02-17-2003, 10:28 PM#7
Fragmentation
arghhhhhhhh

alright check it

i need player group 1 which consist of 5 players player 2- player 6 to be able to use a building to buy extra units to defend their main base, i know i can create a building for each of them but i have 3 openings to be defended so that will be 15 buildings in all, while i see alot of other maps only have like 1 unit buying building and the whole player group can buy from that 1 building

now if u encourage me to just make a mercenary camp and put my units in, one problem i dont want the invading player group 2 consisting of the other 5 players to go in attack the base and be able to buy units from the merc building which is only meant for player group 1

anyone can help me out on this? thanks
02-17-2003, 10:44 PM#8
SkylineGT[FB]
im sad to say but u will have to creat buildings for each player. or u could make a merc camp, put it in a region, and then when a unit equal to enemy of wutever town the merc camp is in,stop that unit. but u will have to play around with that to see how far a hero is able to buy units fromt eh merc camp and then make the region so the enemy hero cant get close to buy any units. so the trigger would look somthing like this:

event
unit - enters region(change the region to wutever u call the region around the merc camp

condition - unit not equal ally of player 2-6(wutever u have)

effect - order entering unit to stop

the effect is issue - order with no target

that should work. if it doesnt try changing the condition to equal to and ally of player 2-6