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

Leak fixing isn't working. HELP!

Status
Not open for further replies.
Level 4
Joined
Apr 17, 2010
Messages
55
I tried using several tutorials to fix the leaks in my Barren wars map but It is not working. It keeps saying that there an invalid argument type after it. No matter what that particular thing is!
 

Attachments

  • Triggerfail.JPG
    Triggerfail.JPG
    102.1 KB · Views: 65
Level 4
Joined
Apr 17, 2010
Messages
55
It is because you did wrong :thumbs_up:.
First, your TempPoint variable is a rect variable, not a point : change it.
After that, you can replace your 3 lines with theses :
  • Set TempPoint = (Center of rect 011)
  • Item - Move (Last created item) to TempPoint
  • Custom script: call RemoveLocation( udg_TempPoint )
And it should work.

Thanks, All working now!
+REP
 
Status
Not open for further replies.
Top