| 08-25-2003, 10:59 PM | #1 |
Ok, so I was trying to do a "morph" type spell using chaos abilities. And it works except for I keep getting a fatal error when I close out WE or after 2 minutes or so. Basically I have a hero that morphs into a black widow as her ultimate. So what I did was create a dummy spell for the ultimate itself (Form of the Great Widow), and an altered chaos ability (Black widow) removed tech tree checks etc.. Then I set up my trigger as: ---------------------- Event- Unit controlled by player 1 begins casting an ability Condition- Ability being cast equal to (Form of the Great Widow) Unit-type of triggering unit equal to (spider chick) Action - Unit-Add ability (black widow) to triggering unit. ------------------------ Ok, so it works, she morphs and everything, but I can't figure out why Im getting the fatal erroremote_sweat The unit data for the chaos ability is set as an Orc grunt atm with the model file changed to the spider. I had it originaly set as the neutral spider itself but thought maybe the neutral unit code was the problem, but it seems to crash no matter what type of unit I set it to. Anyone have any ideas as to something I may have missed? Is there some stipulation to the chaos abilities I may have over looked? |
| 08-25-2003, 11:32 PM | #2 |
I know that if you set even 1 ability's race to "Commoner" or "Critter" it will crash the editor with a fatal error... But currently that is the only thing that comes to mind as a possible problem with it if it works in game (a map that had an ability set to one of the above will still work fine in game.) |
| 08-26-2003, 04:10 AM | #3 |
Gives me something to check for. Thanks for the suggestion. |
| 08-26-2003, 04:41 AM | #4 |
Welp, I just scrapped the whole deal and used a replace unit trigger. Tried just about everything I could think of, including changing the morph target to a an orc peon, grom etc with new model fields and trying all the different chaos abilities. I assume Its trying to call something for the unit that isnt there anymore in the unit data field. Animation.. portrait..maybe, meh I dunno. Once the trigger gives the Hero the chaos ability it starts crashing, not imediately..but eventually. Still bugs me that I cant find the source of the crash though. |
