• 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] HELP! (Floathing text!)

Status
Not open for further replies.
Hello members of the Hive that are talented in making triggers, i have a problem.

i want to create a trigger, that when you enter a region around a vendor, the vendor tells you (by a floating text) a welcome message.

But after a couple of second, i want this message to disapeared.. how can i do it?

(P.S, i'm a real newb noob, so be patiant D:)

here's my first try after Joe-Black-5 helped me, but he left before i could fix it..

NouveauImagebitmap4-1.jpg
:confused:

the region name = Gulrix the Blacksmith,

Gulrix = the unit name (the vendor)
 
Er... to do what you are doing right now you have to set the variable to the floating text immediately. Setting gulrix to the floating text after it was made is just a copy of the text, not the text itself. Destroy the last created text or set it while you are making it.

It's like having the variable x equal to 3.

Now you have a variable y that equals x. You destroy y. That doesn't destroy x.

Hope it makes sense now : 0

If you destroyed the last variable made (and it happened to be x), then it'd destroy x.

If you set y = create x = 3 or something weird like that (which can't be done, lol, but just an example), then the y would actually point to x's memory index or w/e.
 
Status
Not open for further replies.
Top