HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Problem with USMWE(trigger)BUG

03-13-2004, 01:25 AM#1
Brazilian-Boy
Im having a problem with the function GetUnitLevel in USMWE, maybe its a bug...
Look the example:

------

Event:
Unit - A unit owned by Neutral Hostile Dies
Condition:
(Level of(Dying Unit)) Equal to 1
Actions:
Item - Create a Tome of Experience at (Position of (Dying Unit))

------

This work on Warcraft III World Editor, but in USMWE dont, and when i try to open my map with World Editor the map crashes...
can someone tell me how to fix this problem?
03-13-2004, 06:38 PM#2
zotax
You could just replace the get level function with a normal world editors Integer comparison (level of(dying unit) Equal to 1. Or its something like that.
03-13-2004, 11:15 PM#3
Vexorian
Quote:
Originally Posted by Brazilian-Boy
Im having a problem with the function GetUnitLevel in USMWE, maybe its a bug...
Look the example:

------

Event:
Unit - A unit owned by Neutral Hostile Dies
Condition:
(Level of(Dying Unit)) Equal to 1
Actions:
Item - Create a Tome of Experience at (Position of (Dying Unit))

------

This work on Warcraft III World Editor, but in USMWE dont, and when i try to open my map with World Editor the map crashes...
can someone tell me how to fix this problem?
In fact that has no sense at all. are you sure it isn't other trigger?
03-14-2004, 03:05 AM#4
Brazilian-Boy
Quote:
Originally Posted by Lord Vexorian
In fact that has no sense at all. are you sure it isn't other trigger?
PLease try to use this trigger on USMWE to see, its a bug... how to fix it?
03-14-2004, 03:43 AM#5
zotax
Why cant you make the trigger in the normal WE, then copy and paste it into the UMSWE. Though you could just use a normal Integer comparison....