HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Need some help with Triggers

10-15-2003, 07:16 PM#1
Taelrie
Hey im making a map (obviously) and there I have hit a roadblock with a trigger. To promote teamwork I want to do something along the lines of "combination spells" (if 2 people cast 2 specific spells in X range of eachother it does another spell). However I can't figure out--if you can do it at all-- a trigger to do that. Furthermore I use trigger enhanced spells, but that shouldn't pose too much of a problem since I still have the dummy spells to work with.

Oh and a couple other questions I have on the side :)
1) I KNOW there is a way to edit the constants (unitabilities.txt and the other one that can't be edited through SLK editing) and it is a feature in the TFT editor. However I use RoC and I heard there is a 3rd party program that you can use to edit those constants (max level, amount of exp for level, etc.). Does anybody know a program that can do this?

2) I have seen a couple programs called .w3x instead of .w3m. I tried to open this with editor and it didn't work but it is located in the map/download section of my war3 folder. Also some of the example spells on thewarcenter are .w3x format. Does anybody know how to open this kind of format?

3) I am also looking for a basic spell editor (So I can "dummify" the spells although im not certain you can do that in spell editors and change the name/description of the dummy spells). Does anybody have a CURRENT one that I can use for RoC?
10-15-2003, 08:00 PM#2
AllPainful
2. w3m = Warcraft 3 map, w3x = Warcraft 3 eXpansion map
to open a w3x you would have to have TFT.


As for the other 2 problems, you might want to try third party editors such as WEU, I don't know if they have a RoC version that supports what your looking for... but its your best bet I think.

The Board for WEU is here.
The Board for UMSWE 4.0 is here.

There are prolly other progs that would help as well...

Magos has a program to make SLK editing easier on his page.
10-15-2003, 08:00 PM#3
saus
Hmm I'm not sure what triggers are/aren't in the regular WE... Is there that unit within range thing? And the unit casts a spell event?
10-15-2003, 08:12 PM#4
Taelrie
I use USMWE (great editor) but it only adds a couple features. Mostly what it does is remove limits on size and the like. As for that other editor it only works on TFT so I can't use it.

As for SLK editing I actually have an SLK editor. The reason I want a program to do it is because in some of the tutorials it says you will come up with a sync error if you try to edit unitabilities.txt (and the other one). I am not sure if that applies today so if it doesn't can someone tell me?

Also USMWE doesn't have a spell editor so still searching :bgrun:

Oh and with the update all of the trigger edits that came with TFT also went with the regular WE. The only differences is with objects that are new (pandaren brewmaster, etc.) and features that became available with the new layout of the expansion (thus the constant editing). At any rate with triggers if you can do it in the expansion editor your most likely can do it in the regular editor
10-15-2003, 11:49 PM#5
SpectreReturns
Firstly changing max level does NOT work in RoC. Also the triggers you want are in TFT. So come with us, come into the twilight zone. :D
10-16-2003, 12:01 AM#6
Taelrie
Nah living on high school wages and having to pay off insurance and my father (for paying for my car) (intrest free thank god) is eating up ALL my money. So can't go yet :bangH: . Anyway I can actually compete on RoC (the only competition I have is DOTA and one of those 6 billion ****mauls). I wouldn't mind TFT but low and behold I have figured out what to do!


Ill spawn a transparent guy can't be seen or anything that will despawn after 5 seconds. If the other caster is within X range of THAT guy the other spell will go.

Its not the best way to do it but it will work and im too lazy to figure out any other way
10-16-2003, 01:12 AM#7
vi3t85o
a trigger that you've described when 2 chars cast 2 spells at the same time is very easy. heres how i would do it.
---------------------
event:char1 casts spell
con: none
action:
set variable A = variable A +1
if variable A = 1, then cast originial spell else do nothing
---------------------
event:char2 casts spell
con: none
action:
set variable A = variable A +1

if variable A = 1, then cast originial spell else do nothing
---------------------
event:none
con:if variable A equal to 2 or greater
action:
if variable A equal to 2 or greater then run trigger SPELL ALTERNATE

(or you could run this trigger from the perivous to check if variable A equals to 2 or add it to it)
---------------------
[[[[***SPELL ALTERNATE TRIGGER RIGHT HERE***]]]]
event:none
con:none
action:
if variable A equal to 2 or greater then DO YOUR SPELL HERE IT CAN BE WHATEVER YOU WANT!

theres many ways of doing this just fish around. i think that should cover it, if not, just post why you dont understand it or don't think that it works good luck.