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

[Trigger] Can Someone Help me ?

Status
Not open for further replies.
Level 4
Joined
Feb 27, 2008
Messages
71
Hello, I need help with somethings Could somebody help me?
1. How do i make a time box?
2. How do i make when a unit enter a region and so it come red letter

:grin::grin::wink::smile:
 

Attachments

  • Entering.jpg
    Entering.jpg
    17.8 KB · Views: 95
  • Time Box.jpg
    Time Box.jpg
    55 KB · Views: 96
Level 4
Joined
Jun 1, 2007
Messages
92
To create a timer window, first you will need two variables, 1 is a "Timer", and the other is a "Timer Window". Create the timer and timer window and set them to a variable as shown below.
  • Untitled Trigger 008
    • Events
      • Time - Elapsed game time is 0.01 seconds
    • Conditions
    • Actions
      • Countdown Timer - Start Timer as a One-shot timer that will expire in 600.00 seconds
      • Set Timer = (Last started timer)
      • Countdown Timer - Create a timer window for Timer with title Time Remaining:
      • Set Timer_Window = (Last created timer window)
      • Countdown Timer - Show Timer_Window
This is to display a message
  • Untitled Trigger 007
    • Events
      • Unit - A unit enters Region 000 <gen>
    • Conditions
    • Actions
      • Game - Display to (All players) the text: |cffff0000Entering some place|r
To specifically make something red type "|cffff0000" right before your message, then "|r" at the end of it.
 
Status
Not open for further replies.
Top