• 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 remove of integer

Status
Not open for further replies.
Hay ^.^

this leak is about group of units that instead of one it need to be interger called IL (it is the player number)
Set myunitgroup[IL] = (Units owned by (Owner of (Triggering unit)) of type Locust)
Set IL = (Player number of (Owner of (Triggering unit)))

call DestroyGroup(udg_myunitgroup[1]) 1= need to be IL which is an integer of the player number. (so i cant do remove to 1 because that there are 6 players that may fit.
 
Level 8
Joined
Aug 1, 2008
Messages
420
  • Special Effect - Destroy (Last Created Special Effect)
DSG, you need to stop being so clever with the new guys ;)
 
  • fly 1
    • Events
      • Unit - A unit Is attacked
    • Conditions
      • (Attacking unit) Equal to Tauren Chieftain 0029 <gen>
      • ((Attacked unit) is A Hero) Equal to True
    • Actions
      • Set randomplaceint = (Random integer number between 1 and 10)
      • Set randomplaceint = 0
      • Trigger - Turn on fly 2 <gen>
      • Trigger - Turn off (This trigger)

randomplaceint : (Line: 16) Location - Removed: No

This means that it has something need to remove. and I made this int = 0 but it not work.
Any one can help?
 
Status
Not open for further replies.
Top