• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

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