• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Importing Spells..

Status
Not open for further replies.
Level 3
Joined
Apr 21, 2006
Messages
25
Hey I know there are lots of posts on this, and I have seen the tutorials too, but my head is exploding right now and I can't stop thinking there must be a better way to do this.

I mean, the problem with it is that after importing the triggers and importing the custom units / abilities / buffs involved, you also gotta fix the triggers so they match the imported stuff since they won't link properly. But let's say I wanna import a spell from a map which contains multiple way too complex and long triggers. I can't read through all of it, and keep switching between maps to compare and fix the them... so please someone tell me I'm doing something wrong -.-

Thanks :p
 
Hey I know there are lots of posts on this, and I have seen the tutorials too, but my head is exploding right now and I can't stop thinking there must be a better way to do this.

I mean, the problem with it is that after importing the triggers and importing the custom units / abilities / buffs involved, you also gotta fix the triggers so they match the imported stuff since they won't link properly. But let's say I wanna import a spell from a map which contains multiple way too complex and long triggers. I can't read through all of it, and keep switching between maps to compare and fix the them... so please someone tell me I'm doing something wrong -.-

Thanks :p

normally, things that need to be changed are on the top of the code (on JASS/vJASS) and on an initialization trigger or on top of the trigger (in GUI)...

and most systems have a HowToImport...
 
Level 3
Joined
Apr 21, 2006
Messages
25
No I didn't mean variables and I don't really use Jass. I meant, for example, if you import a GUI spell you need to go and change the fields in the triggers where the spells appears because they are going to be different. I'm referring to this part of the Spells Importing Tutorial by Daelin:

We have the following condition into the original map:

Quote:
“Ability Being Cast” equal to Mass Sleep

but which in your map will look like this:

Quote:
“Ability Being Cast” equal to Strafe

In this case you will have to go and change this condition. In this case we change the Strafe with Mass Sleep and problem is solved. But how do you know in how many places you need to do this change? Usually they will appear when you refer to custom abilities/units/doodads/items/buffs/models. You will have to check the trigger event by event, condition by condition and action by action and change these accordingly so they look like into the original map.
 
Status
Not open for further replies.
Top