HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

UMSWE Information + Wishlist

07-22-2003, 08:09 AM#91
PitzerMike
@ Krakou

An item class check is already part of the FT Editor.
Just use the Item Class comparison as condition
07-22-2003, 10:04 AM#92
BoZo
Unfortunenlty it doesnt work, well, sometimes it works and sometimes it doesnt... It mostly doesnt.

((Triggering unit) has an item of type (Random level -1 Permanent item-type)) Equal to True

Doesnt work.
07-22-2003, 06:04 PM#93
DS-Orkhomie
how about pick next Created Unit and do Action as an action. then maybe u could have next selected unit next targeted unit and sop on.
07-22-2003, 06:08 PM#94
Scio
dont think those exist
07-22-2003, 07:43 PM#95
Starcraftfreak
@Scio:
Enabling negative values for all fields is in my opinion not the best solution. If we know that it makes no sense, we should disable it.

@BoZo: Maybe you did something else wrong.

Quote:
Originally posted by Scio
dont think those exist

I also don't think so.
07-22-2003, 07:58 PM#96
Starcraftfreak
Quote:
Originally posted by piRo-piOn
hard to do, but i put my faith in Scio:
have a For Loop (untill) trigger in GUI thats like all those Multiple Actions GUI triggers and has the fields Exit When True and Actions.

So the GUI Action:
For Loop (untill):
-Actions:
--Set Variable X = 1
-Exit When True
--X is equal to 1

would compile into (sorry, my JASS is sloppy. I keep mixing up commands with Java):
loop
ugd_X = 1
exitwhen (x == 1)
end loop

**EDIT***
It seems the way warcraft does the multiple functions the trigger above would have all it's actions and conditions in a mechanically named function (i.e. Function_102030423, check the other multiple conditions triggers for details). The conditions function returns boolean.
and the acuall JASS becomes:
loop
function_######
exitwhen function_#######
endloop

For Loop (until) with either one or multiple actions is not possible, because:

Quote:
Taken from TriggerData.txt
// Specially handled by the editor
ForLoopVarMultiple=1,integervar,integer,integer
_ForLoopVarMultiple_Defaults=_,1,10
_ForLoopVarMultiple_Category=TC_FORLOOP

It is possible in Jass, but as you see these For* triggers are "Specially handled by the editor", which means
that they are hardcoded. As you may can figure out, the ForLoopVarMultiple trigger takes just the var and the
range. These functions are not in Jass, they are just available in the editor. The editor generates then something
like what you explained.
07-22-2003, 10:16 PM#97
piRo-piOn
pshh... so you cant make GUI triggers generate any form of multi-line text?

i always thought the GUI just made variables like:
for each integer A from <x> to <y> do <z>
would become
set bj_ForLoopIndexA = <x>
set bj_ForLoopIndexAEnd = <y>
loop
exitwhen bj_ForLoopIndexA > bj_ForLoopIndexAEnd
<z>
set bj_forloopIndexA = bj_forLoopIndexA + 1
endloop

but apparently WE is not that smart...
07-23-2003, 04:35 AM#98
Scio
the trigger actions are each a full blown function, not just one piece of code. They are designed to run error-free no matter the combination. You can see where if a newb used an unterminated loop it would casue problems.
07-23-2003, 06:49 PM#99
Starcraftfreak
Quote:
Originally posted by piRo-piOn
pshh... so you cant make GUI triggers generate any form of multi-line text?

i always thought the GUI just made variables like:
for each integer A from <x> to <y> do <z>
would become
set bj_ForLoopIndexA = <x>
set bj_ForLoopIndexAEnd = <y>
loop
exitwhen bj_ForLoopIndexA > bj_ForLoopIndexAEnd
<z>
set bj_forloopIndexA = bj_forLoopIndexA + 1
endloop

but apparently WE is not that smart...

The WE does this. But all triggers that generate multi-line triggers are unfortunately (damn Blizzard) hardcoded (as I already said).


Quote:
Originally posted by Scio
You can see where if a newb used an unterminated loop it would casue problems.

Newbs can cause problems with normal triggers too!
07-23-2003, 11:02 PM#100
theJ89
There is still some problems, Scio.

You need to include some maps along with your editor that other users have made with UMSWE, to show what can be done with your editor and how to do it. For example, what use would I have for a Ground-Unit Targeted Unit Order variable?

And also, another biggy is that in the maps that I have played, people are not even modifying the maps with Blizzard's overall great editor. For example, in some hero based maps, their stats are the same, and they are selling tomes through the same old goblin merchant, with the same name! And the sad thing is, people that spend months on their maps only get about 2 weeks popularity.


What im trying to get at is if you refine your editor a little longer before releasing it (to let the talent build up in Battle.net mappers) it would be a huge success, and the mappers of battle.net (@USEast focused on) would be able to start a new genre of maps that only your editor could enable :D :D :D
For example, Wintermaul started a new Genre of TDs, and most TDs are based on wintermaul now. And on starcraft, if you remember the SCXTRA editor, it enabled people to turn off vision to themselves, allowing them to stack. Now almost every defense and Roleplaying map has it! Make something really amazing in your editor, like the model list you had last time!

Im really looking forward to your next editor, scio!
07-23-2003, 11:14 PM#101
piRo-piOn
most td's arent "based-off" wintermaul, they are blatant ripoffs. Blatant rippoffs that suck.
07-23-2003, 11:36 PM#102
Mech-Sheep
Hey, is it possible to turn off vision to self? It would be ****ing cool if you can. Oh man, it scared the heck outta me in Starcraft "Alone in the Dark". Imagine a PANDA MURDER MANSION WITH DARKNESS EVERYWHERE!

If you can't, maybe Scio can do it :D He did a lot of things, so I trust him.
07-24-2003, 01:10 AM#103
Scio
Well UMSWE includes 8 file lists, all the (listfile)'s and a few other helpful guides in the UMSWE Files folder it installs. As for the turn off vision to self, Ill look into that. And by the way, there already are many maps only UMSWE can open due to all the custom triggers and such i added into the GUI. But I def see where you are going with this.
07-24-2003, 02:13 PM#104
COOLer
can you change the max data feild for spell data to 1000 on movemnet speed increase cause wind walk bypasses the 400 unit speed limt right now the max value in thta feild is 10.00 so my unit can only go 522 but that still way over the reg max of 400.
07-24-2003, 08:03 PM#105
Scio
done:D