wc3edit.net
https://forum.wc3edit.net/

Adding Triggers Involving Items
https://forum.wc3edit.net/deprotection-cheating-f64/adding-triggers-involving-items-t78.html
Page 1 of 1

Author:  Aero [ February 2nd, 2007, 12:11 am ]
Post subject:  Adding Triggers Involving Items

Ok, I extracted the 'war3map.w3t' (Custom Item Data) file from Difi4nc3s ORPG V0.16 and imported it into a new blank map.

I reopened it and the custom items were all in the editor so I made a trigger which creates a 'Donator's ring' in center of playable map area then I converted it to custom text to get it into JASS (So I could get the Donator's Ring Item ID (Which is [EDIT it's I04N =P] 'I01D' if I remember correctly))

So next, I extracted the .j script for Def. Orpg and and added
"trigger gg_trg_SpawnRing=null" in the top

Then I added the actual trigger to create 'I01D' at center of playable map area

Then I added 'call InitTrig_SpawnRing( )' after function main (after locals)

I tried to play the map with the edited script and it didn't work (I -DID- delete (Attributes) by the way)

Any info I should know about creating triggers in protected maps involving items?

Help/Info/Solution appreciated

-Aero

Author:  Dekar [ February 2nd, 2007, 12:14 am ]
Post subject: 

hmm... should work... dunno :shock:
ill release a kind of item spawn trigger with another
bunch of cheating triggers next time anyway ;)

greets Dekar

edit:
maybe the map size is different, so it spawns wrong? outside?
just add it to heroes inventory :)

Author:  Aero [ February 2nd, 2007, 12:24 am ]
Post subject: 

Good suggestion, I'll try adding to hero's inv and some other general modifications if that doesn't work :/

I'll let you know or post something about it if it's due to something else

-Aero

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/