• 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.
  • 💡 We're thrilled to announce that our upcoming texturing contest is in the works, and we're eager to hear your suggestions! Please take this opportunity to share your ideas in this theme discussion thread for the Texturing Contest #34!
  • 🏆 Hive's 7th HD Modeling Contest: Icecrown Creature is now open! The frozen wastes of Icecrown are home to some of Azeroth’s most terrifying and resilient creatures. For this contest, your challenge is to design and model a HD 3D monster that embodies the cold, undead, and sinister essence of Icecrown! 📅 Submissions close on April 13, 2025. Don't miss this opportunity to let your creativity shine! Enter now and show us your frozen masterpiece! 🔗 Click here to enter!

War3 Editor: Circle of Power help

Status
Not open for further replies.
Level 1
Joined
Aug 2, 2011
Messages
2
I need to know how to do teleportation. So for example the monster dies and the circle of power allows you to Teleport to the area. I don't want the player to automatically go to the circle of power and just teleport there w/o killing the boss. I want the boss to die first then the circle of power becomes usable. Help thanks.
 
Level 37
Joined
Mar 6, 2006
Messages
9,243
  • Unit Dies
    • Events
      • Unit - A unit Dies
    • Conditions
      • (Triggering unit) Equal to *your unit*
    • Actions
      • Trigger - Turn on Teleport <gen>
  • Teleport
    • Events
      • Unit - A unit enters Region 000 <gen>
    • Conditions
    • Actions
      • Set Point = (Center of Region 001 <gen>)
      • Unit - Move (Triggering unit) instantly to TempPoint
      • Custom script: call RemoveLocation(udg_TempPoint)
Point is a point variable.
 
Level 1
Joined
Aug 2, 2011
Messages
2
I shall try o.o!

And one more thing i want to know what I can do if my hero levels to a certain lvl. Lets say hes lvl 15 blade master and at 16 hes transforms into a lvl 1 peasent?... you get the idea. He keeps all items and gold. How do i do this
 
Last edited by a moderator:

Chaosy

Tutorial Reviewer
Level 40
Joined
Jun 9, 2011
Messages
13,233
OK this is as you want it i think.

1.create those two variables
variable1
your_hero_level
type is integer

variable2
hero
type is unit

2.go to object editor and paste and copy blade master
2.b edit the pasted model to peon

3 use these triggers

  • set your variables
  • Events
  • Map initialization
  • Conditions
  • Actions
  • Set Hero = Blademaster 0001 <gen>
  • peon transform
  • Events
  • Unit - Blademaster 0001 <gen> Gains a level
  • Conditions
  • Actions
  • Set Your_hero_level = (Hero level of Hero)
  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    • If - Conditions
      • Your_hero_level Equal to 16
    • Then - Actions
      • Unit - Replace Hero with a Blademaster using The old unit's relative life and mana
      • Hero - Set (Last replaced unit) Hero-level to Your_hero_level, Hide level-up graphics
      • Trigger - Turn off (This trigger)
    • Else - Actions
[self="http://www.mediafire.com/?bp68vnmreuhlb0w#1"]map download link[/self]
 
Level 2
Joined
Aug 3, 2011
Messages
12
OK this is as you want it i think.

1.create those two variables
variable1
your_hero_level
type is integer

That depends on whether you want you 'Peasant' 'hero' to be the same level as your previous hero
 
Status
Not open for further replies.
Top