HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

WE Unlimited 2 Released - For version 1.20!

10-19-2004, 03:18 PM#286
PitzerMike
Quote:
Originally Posted by magic1612
not rects, Jass regions ?

oh, then I'm sorry, there is no such function available now. Of course you can write one using JASS yourself and if this is useful I can also add such a function to future releases of WEU.
10-23-2004, 10:47 PM#287
Sware
I have a question, When using the hero selection system, how do u make it set the heroes level to # other than default 10?
10-24-2004, 08:30 AM#288
PitzerMike
Quote:
Originally Posted by Sware
I have a question, When using the hero selection system, how do u make it set the heroes level to # other than default 10?

After creating the heros you can simply run a trigger with the action:

For each unit in <Selectable Heros> do action: Set Level to ......
10-26-2004, 02:10 AM#289
HexenLordX
A few people have asked me this question before and I'm a little curious myself. Its for the load trigger, and detecting if a unit was created or not.

Okay, take a look at the trigger:



Now, by the looks of that code, a hero could be loaded several times over, correct?

If you set a variable = 1 after the last action, and for a condition of the trigger, that variable is set to 0, then the trigger would not be usable if you had already attempted to load.

What about failed loads? Is there any way to detect whether or not a unit was created by the load trigger, to give those that failed to load their heros another chance?
10-26-2004, 10:13 PM#290
PitzerMike
Quote:
Originally Posted by HexenLordX
What about failed loads? Is there any way to detect whether or not a unit was created by the load trigger, to give those that failed to load their heros another chance?

This is currently not supported. You can't really tell if the code entered was a valid code. I can only tell when the player profile of the loader doesn't match the stored owner, or the stored unit-id doesn't exist - and therefore the unit won't be created.
I could set Last Created Unit to null (No Unit) to indicate that - but that's just about everything I can do about it.

I leave it up to you to do other consistancy checks, because these might vary from one map to the other. For example if you say a hero of type A can only have abilities of type C, D, E then you would probably want to check if that's alright, but I can't do that for you.

Oh, and you're right in assuming that technically you could load heros over and over if you don't care for that yourself.
11-01-2004, 06:24 AM#291
hitman_forever
WTF?? see the screenshot,,, i have downloaded the dll file, i put it in Windows\system and it's saying that again

And what's "Class not registered"?
How can i do for registering the dll

Thx hitman_forever
11-01-2004, 07:05 AM#292
Stitch
have you tried downloading the file you are missing? i attached the file in zip format for you (first time attaching so hopefully it works)
just copy it into windows/system32 i believe. gl
11-01-2004, 07:20 AM#293
hitman_forever
Yes, I had downloaded the file from www.dll-files.com.
I put the dll in BOTH system and system32 repertories... it says the same. :(

Anyone has another idea?

PS: and normally it's in system repertory that i have to put the file (i read the read-me.txt :) )
11-02-2004, 12:40 AM#294
PitzerMike
You must also register the dll.
To do this click start/run and type in

regsvr register "C:\Windows\system32\MSSTDFMT.DLL"

and click ok.
11-02-2004, 10:36 AM#295
hitman_forever
Quote:
Originally Posted by PitzerMike
You must also register the dll.
To do this click start/run and type in

regsvr register "C:\Windows\system32\MSSTDFMT.DLL"

and click ok.

It works!!!
umm, it works but i don't did like you said:

yes, i did start/run and i typed: regsvr32 "C:\Windows\system32\MSSTDFMT.DLL"

Thank you very much :d:d
11-02-2004, 04:58 PM#296
duckduck
i tried reinstalling it, and it still doesnt work...
11-06-2004, 12:27 AM#297
The_Freak
Something is wrong. When I put a custom unit to the map, it will just say " Error, your program is not working, then give a choice to to quit or give a error report. Plz can you help me!!!
11-07-2004, 07:25 PM#298
PitzerMike
Quote:
Originally Posted by The_Freak
Something is wrong. When I put a custom unit to the map, it will just say " Error, your program is not working, then give a choice to to quit or give a error report. Plz can you help me!!!

If the same problem also occurs witht he ordinary world editor then I can't help you.
11-09-2004, 08:33 PM#299
duckduck
could it be that when uninstalling 1.16, i didn't delete all the files? cause i wasn't sure whether or not i deleted all the files
11-09-2004, 11:22 PM#300
PitzerMike
Quote:
Originally Posted by duckduck
could it be that when uninstalling 1.16, i didn't delete all the files? cause i wasn't sure whether or not i deleted all the files

yes duckduck, this can cause serious problems.
You should delete remaining files and subfolders after a uninstallation of weu
Maybe try uninstalling again, deleting the whole weu folder and then reinstalling