HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Regarding attacks...

08-20-2003, 05:33 PM#1
InsaneBeetle
I don't know what happened, my map was working perfectly before, but after I put in this one trigger for replacing units, it got rid of the attack for all units in the map. And when I go to unit editor and click on them it says Attack 1 Only is enabled like it should. And just to be safe I click none and then Attack 1 Only and test it, and the attacks are not there! What's up with that? I'm almost finished with my map, I don't want to start over!
08-20-2003, 06:34 PM#2
Vraq
Mind posting your replacement trigger? Perhaps that will yield some clue as to what the problem is...
08-20-2003, 06:40 PM#3
InsaneBeetle
Well, I'm making something where you can morph, and I wanted to test it with a chat message before I put it into a big event/condition chain.

I put in two triggers, keep in mind player 1 only has one unit so the random part is just targetting his only unit.

Trigger 1
Event - Player 1 (Red) types a chat message containing -morph as an exact match
Conditions - none
Actions -
1. Create a special effect attached to the overhead of random unit from (units owned by player 1) using Abilities\Spells\Demon\DarkPortal\DarkPortalTarget.mdl
2. Replace random unit from (units owned by player 1) with a Robot using the new unit's default life and mana

Trigger 2
Event - Player 1 (Red) types a chat message containing -morph2 as an exact match
Conditions - none
Actions -
1. Create a special effect attached to the overhead of random unit from (units owned by player 1) using Abilities\Spells\Demon\DarkPortal\DarkPortalTarget.mdl
2. Replace random unit from (units owned by player 1) with a Human using the new unit's default life and mana

I'm probably going to take out the special effect part; It doesn't do anything. I didn't just want to replace the unit, I wanted a big thing with lights to make it look like a morph.

I don't think the special effect is the problem though, because every other Human and Robot on the map has no attack.
08-20-2003, 07:22 PM#4
InsaneBeetle
come on, help me out here! my map will be nothing without the basic attack!