HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

triggers almost done need help with another

02-18-2003, 04:54 AM#1
Fragmentation
1) im having trouble on a trigger where player 1 red selects a unit and then that picked unit dies and player 1 red gets a unit of that type at a region

event-player 1 red selects a unit

condition-region 195 contains picked unit equal to true
-picked unit is a footman equal to true

action-create 1 footman for player 1 red at center of region 16 facing default building degrees

obviously the test unit was a footman


anyone know whats wrong?
02-18-2003, 07:38 AM#2
Guest
im not at my own comp so i cant really check it out, but i believe its pretty much the same as when u pick your hero in warchasers(which is installed with your game...), so you could check there for reference,,,,8)
02-18-2003, 07:47 AM#3
Electromancer
Heh, found your problem. Picked unit is for Select every unit in unitgroup and do whatever picked unit whatever. For now, just use a Pick all units Currently selected by playerX and do if picked unit equal to footman then give playerX control of picked unit else do nothing. Then add another trigger like this for moving it were you want it. For some reason theres no selected unit in conditions. Im not sure why, but they just didnt see it as nessassary i guess.
02-18-2003, 12:09 PM#4
DS-Orkhomie
U could also do this

EVENT: UNIT-( pick unit to be selected) is selected



CONDDITION: Unit ( select the unit that would be selected) is selected by player 1 red equal to true

ACTION UNIT- Creat 1 ( pick the kind of unit) for player 1 red at center of ( pick region) facing ( pick angle


hope this helps
02-18-2003, 12:51 PM#5
Fragmentation
thanks for the heads up electro and ds thanks to u too and cre too but i have no idea what warchasers is another wc3 map?