T
thedude
Guest
wow....ur code are so advance tat i also dun understand...
lol?
wow....ur code are so advance tat i also dun understand...
lol?
this code :
Set Unit[(Player number of (Owner of (Dying unit)))] = (For Player 1 (Red) create a unit of type Footman at location Point facing 0.00 degrees)
the UNIT is using wat type of variables mind tell?
done
Code:Poo Events Unit - A unit Dies Conditions (Owner of (Triggering unit)) Equal to Player 1 (Red) Actions Set loc[0] = (Center of (Playable map area)) Unit - Create 1 Footman for Player 1 (Red) at loc[0] facing Default building facing (270.0) degrees Custom script: call RemoveLocation(udg_loc[0])
Code:"Poo" Events Unit - A unit Dies Conditions (Owner of (Dying unit)) Equal to Player 1 (Red) Actions Set Point = (Center of (Playable map area)) Set Unit[(Player number of (Owner of (Dying unit)))] = (For Player 1 (Red) create a unit of type Footman at location Point facing 0.00 degrees) Point - Remove Point
Yea, repetitive...
~GaLs~ said:lol !!
no ppl are doing his homework / assignment @@!
PurgeandFire said:PS. There is a test that is coming soon on May 25th or 26th. Prepare! Don't worry, it won't be too hard.
Poopy Poop
Events
Unit - A unit Dies
Conditions
(Owner or (Triggering Unit)) Equal to Player 1(Red)
Actions
Custom Script: local Unit udg_VarUnit
Custom Script: local Location udg_Point
Set Point = (Center of (Playable Map Area)
Unit - Create 1 Footman for Player 1 (Red) at Point facing Default facing degrees
Set VarUnit = (Last Created Unit)
Custom Script: call RemoveLocation(udg_Point)
Code:Poopy Poop Events Unit - A unit Dies Conditions (Owner or (Triggering Unit)) Equal to Player 1(Red) Actions Custom Script: local Unit udg_VarUnit Custom Script: local Location udg_Point Set Point = (Center of (Playable Map Area) Unit - Create 1 Footman for Player 1 (Red) at Point facing Default facing degrees Set VarUnit = (Last Created Unit) Custom Script: call RemoveLocation(udg_Point)
^-^ (Just some random Global Locals)
PS: Add me! XD
EDIT: Isn't Memory leak fixing NOT GUI?
Poo
Events
Unit - A Unit Dies
Conditions
(Owner or (Triggering Unit)) Equal to Player 1 (red)
Actions
Unit - Create 1 Footman for Player 1 (red) at Center of (Playable map area)) facing Default building facing degrees
Sign me up yo i was just posting i need to learn GUI
Sign me up yo i was just posting i need to learn GUI