| 02-23-2004, 11:18 PM | #1 |
I am making a map, and every aspect of it is complete except 1 spell. a dismount spell based on stoneform for a hero. My idea is this a priestess of the moon casts dismount and a tiger and a reskined ranger are made. i tried to do this with triggers like this. event: unit begins casting an ability condition: ability being cast = dismount actions: If level of (triggering ability)= 1 then create 1 Tiger lvl 1 at position of triggerin unit set tiger=last created unit If level of (triggering ability)= 2 then create 1 Tiger lvl 2 at position of triggerin unit set tiger=last created unit If level of (triggering ability)= 3 then create 1 Tiger lvl 3 at position of triggerin unit set tiger=last created unit That works Then to destroy tiger Event: A unit is issued an order with no target condition: Issued order= order(remount) actions: remove tiger from game when i cast dismount it works. when i cast remount it summons another tiger, so i made the first trigger like this event: unit is issued an order with no target condition: issued order= Dismount actions: If level of (dismount) for triggering unit= 1 then create 1 Tiger lvl 1 at position of triggerin unit set tiger=last created unit If level of (dismount) for triggering unitthen create 1 Tiger lvl 2 at position of triggerin unit set tiger=last created unit If level of (dismount) for triggering unit then create 1 Tiger lvl 3 at position of triggerin unit set tiger=last created unit That didnt work at all so my questions are (a) how could i make this work? (b) Am i using the order function wrong because the order functions triggers i made didnt work? I think it might be that stone form might have a target but i dont know what. note: the order strings of the actual ability are right. |
| 02-24-2004, 07:48 PM | #2 |
yea. It doesnt keep the hero level, so idecided to make it like this. |
| 02-24-2004, 09:20 PM | #3 |
It atually keeps the hero exactly the same... It changes their model and name (not proper name) but keeps same stats level and abilites. Thats why i chose stone form My real probem now that i notice it is that the If unit is issued an order order = (_______) doesent work In the original way i did it (with casting ability not order) it would summon leveled tigers and change the hero. then when i would go back it wouldnt remove the old tiger, just make another tiger Then when i used the issued order function it didnt do anything so i used this trigger Event: Unit issued and order with no target Condition: Issued order = Order(dismount) Action Quest update display "It woks" and nothing happened |
| 02-24-2004, 09:24 PM | #4 |
the only thing u can do is to add an ability to the hero that changes the model, u cant do a dismount |
| 02-24-2004, 09:30 PM | #5 |
I understand that what i wanted was when you cast stoneform make a tiger, changing the model to and archress and making a tiger next to it... I got tat to work. I even got the spell to level, but when casting gargoyl form, it just made another tiger. THen when i changed the event from Issued ability to issued order, the triggers didit start at all |
| 02-24-2004, 09:33 PM | #6 |
the stone form of garg is a totally dif skin |
| 02-24-2004, 10:24 PM | #7 |
yep i know i changed taht and unchanged it press shift and u can set custom orders. thats not he preoblem (or maybwe it is) but im sure that the order and trigger match |
