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

Question about avoiding leaks

Status
Not open for further replies.
Level 2
Joined
Aug 4, 2010
Messages
23
Hi i have trigger:
  • InitializeFloatingTexts
    • Events
    • Conditions
    • Actions
      • Floating Text - Create floating text that reads Go Outside above Krąg Mocy (duĹĽy) 0173 <gen> with Z offset 10.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
      • Floating Text - Create floating text that reads Trainers lair at temp_point with Z offset 100.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
      • Floating Text - Create floating text that reads Go back at temp_point with Z offset 100.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
      • Floating Text - Create floating text that reads Go to shops at temp_point with Z offset 100.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency

i know it leaks but did i have to remove these leaks like this:
  • InitializeFloatingTexts
    • Events
    • Conditions
    • Actions
      • Floating Text - Create floating text that reads Go Outside above Krąg Mocy (duĹĽy) 0173 <gen> with Z offset 10.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
      • Set temp_point = (Center of Text <gen>)
      • Floating Text - Create floating text that reads Trainers lair at temp_point with Z offset 100.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
      • Set temp_point = (Center of Text2 <gen>)
      • Floating Text - Create floating text that reads Go back at temp_point with Z offset 100.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
      • Set temp_point = (Center of Text3 <gen>)
      • Floating Text - Create floating text that reads Go to shops at temp_point with Z offset 100.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
      • Custom script: call RemoveLocation(udg_temp_point)

Or like this:
  • InitializeFloatingTexts
    • Events
    • Conditions
    • Actions
      • Floating Text - Create floating text that reads Go Outside above Krąg Mocy (duĹĽy) 0173 <gen> with Z offset 10.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
      • Set temp_point = (Center of Text <gen>)
      • Floating Text - Create floating text that reads Trainers lair at temp_point with Z offset 100.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
      • Custom script: call RemoveLocation(udg_temp_point)
      • Set temp_point = (Center of Text2 <gen>)
      • Floating Text - Create floating text that reads Go back at temp_point with Z offset 100.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
      • Custom script: call RemoveLocation(udg_temp_point)
      • Set temp_point = (Center of Text3 <gen>)
      • Floating Text - Create floating text that reads Go to shops at temp_point with Z offset 100.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
      • Custom script: call RemoveLocation(udg_temp_point)
 
Status
Not open for further replies.
Top