Item trigger help needed

Status
Not open for further replies.
Level 2
Joined
Jan 27, 2014
Messages
12
Hello, im new to modding and want to learn more, i know a few basics. Anyway, i need help with a trigger. I need a hero to teleport from a region when he enters it (this part i do know) but he also require a item to do so. Anyone?

/Cajvall
 
Level 25
Joined
May 11, 2007
Messages
4,650
Event: A unit enters region
Conditions:
Boolean(unit is a hero) = true
Or (hero has item of type key in slot 1), (hero has item of type key in slot 2), (hero has item of type key in slot 3), (hero has item of type key in slot 4), (hero has item of type key in slot 5), (hero has item of type key in slot 6)
Actions:
setTemppoint 1 = center of regionToTeleportTo
Move triggering unit instantly to temppoint1
specialeffect magicks at temppoint1
destroy last created specialeffect
cleanup teamppoint1
 
Status
Not open for further replies.
Top