| 11-21-2004, 02:39 PM | #1 |
I have a hall-type building, which can sell items and allow you to cast spells that the castle has, I have a teleport spell which is supposed to teleport all heroes that the person who uses it to a specific targeted point, but I can find any GUI that would allow the player whos buying it to be specified, so...Is there any GUI I could use to specify who is "buying" the spell, or would I have to make it an item, and if I make it an item that someone can buy, how would I make it so that you can target the point you want to teleport to? :( |
| 11-21-2004, 02:45 PM | #2 |
Try to modify the " Staff of Teleportation " or the " Scroll of Town Portal " . hmm, but then you wont get all heros there, hmm, aha :D Trigger Event - A unit uses THAT item Actions - Pick every unit in (all units in playable map) and do: - If picked unit is equal to "a friend" :D - Then do move picked unit instantly to "unit who used the item" - Else do, nothing! this maybe foggy :p but i dont got the editor infront of me, just writing from my mind, hope you understand it |
| 11-23-2004, 12:53 PM | #3 | |
Quote:
Well Im not sure I understand you correct but you can either do it like this: Have the hero already got the spell and just upgrade in the castle so he can cast it Or You can make it so when he buy the upgrade/unit/item (whatever) he will get the abilities by triggers (this don't work with Hero Abilities i think) ------Soultaker |
