• 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] Floating Text Problem

Status
Not open for further replies.
Level 15
Joined
Oct 18, 2008
Messages
1,591
Hi there
EDIT: I'll put it simple:
  • Custom script: if GetLocalPlayer() = GetTriggerPlayer() then
  • Change Text *Floating Text* to *something*
  • Custom script: endif
==DESYNC?
And will it work correctly? Or is there any other way around it(without generating more than 100 Floating Texts)?
 
Last edited:
Level 5
Joined
Aug 16, 2010
Messages
114
limit the trigger according to the event... add a variable:
set "bla" = last created floating text
then make condition:
(if "bla" = last created floating text) then (do nothing)
that way the trigger will make 1 text, and if it tries to repeat, it cant because the text is limited by the condition... in other words... we set the trigger to a variable, and later check if it is present, since it is, we dont allow the trigger to generate another txt
 
Status
Not open for further replies.
Top