HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Trigger Question HELP! part 2

10-01-2003, 11:10 PM#1
Dark Alucard
its a few hours later, and i have some more questions!

1. how can i make a unit be able to attack ground

2. i have a trigger that when a player presses the up button a boolean (folward[playernumber]) to true. a periodic event makes it so if its true 4 a player, it makes their marine move to position of hero[1](its self) offset by 200 towards hero[1]'s faceing angle. IT CRASHES!
10-02-2003, 12:14 AM#2
Ligature
In response to your first question, I think you can go into Object editor and set its "Combat - Targets Allowed" value - and check "Terrain" - and that should let it attack... terrain!

I don't know about the crashing though... how periodic is your periodic event? And out of curiosity, did you remember to set the boolean back to false when the player Stops pushing the Up arrow?
10-02-2003, 12:27 AM#3
Dark Alucard
Yhea it turned off, i gave up on that, so i worked around it.

my big problem is that when a unit is issued an order, he is supposed 2 automaticaly attack terrain there, but it crashes there also...
10-02-2003, 12:00 PM#4
Ant
When the action is "unit1 is issued an order..." the events CANNOT issue unit1 an order or the game will crash.
Work around it. Make a mirror unit and make unit1 mirror unit2's orders. Then block off unit2.
You gave up on arrow keys? nono! Perhaps the below link will be of help.
http://www.wc3campaigns.com/forums/s...threadid=29961
If you want Attack-ground as in the command attack-ground, give unit a positive area of effect.