• 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.

Boss fight

Status
Not open for further replies.
Level 3
Joined
Oct 27, 2009
Messages
24
I want to know make a unit move around independently in the fighting zone and also how to use a special attack to stun it thus making it vulnerable. i want to long boss fights that actually require you to think.
 
Well, you can make these triggers, if I understand correctly:
  • Trigger1
  • Events
    • Map Initialization
  • Conditions
  • Actions
    • Unit - Make (Boss 000 <gen>) invulnerable
  • Trigger2
  • Events
    • Unit - A unit enters Boss Region <gen>
  • Conditions
    • (Unit-type of (Triggering unit)) Not Equal to Boss
  • Actions
    • Unit - Make (Boss 000 <gen>) vulnerable
This trigger makes your boss invulnerable in the initialization of the map. Then, you can make a region, where your boss lies in, so that you can name it the "boss area". When players enter the area, the boss becomes vulnerable to their attacks.
 
  • Trigger2
  • Events
    • Time - Every 1.00 seconds of game-time
  • Conditions
  • Actions
    • Set Point1 = (Position of (your unit))
    • If (All conditions are true) then do (Actions) else do (Actions)
      • If - Conditions
        • (Terrain pathing at Point1 of type Floatability is off) Equal to False //Note: This is a boolean comparison
      • Then - Actions
        • Unit - Order (your unit) to Orc Far Seer - Chain Lightning (the target unit you want)
      • Else - Actions
    • Custom script: call RemoveLocation (udg_Point1)
 
Level 9
Joined
Jun 25, 2009
Messages
427
Maybe try something like this:
  • The Boss
    • Events:
      • Time - Every 15.00 seconds of the game time
    • Conditions:
      • Boss <gen> is alive
    • Actions:
      • Set Boss_Position=Position of (Boss <gen>)
      • Unit - Create 1 Vulnerabler for (Owner of (Boss <gen>) at Boss_Position facing default building facing degrees
      • Set Vulnerabler=(Last created unit)
      • Unit - Add Stun[Vulnerable] to Vulnerabler
      • Unit - Order Vulnerabler to Human-Mountain King: Storm Bolt (Boss <gen>)
      • Unit - Add 1.00 second Generic expiration timer to (Vulnerabler)
      • Custom Script: call RemoveLocation (udg_Boss_Position)
      • Unit - Make (Boss <gen>) vulnerable
      • Wait - Wait 10.00 seconds of (game time)
      • Unit - Make (Boss <gen>) invulnerable
Hope this will work as a charm (at least I HOPE SO)

Tiche3:grin:
 
Status
Not open for further replies.
Top