View Single Post
Old 05-09-2009, 11:49 AM   #13
Toadcop
BuranX
 
Toadcop's Avatar
 
Join Date: Jul 2006
Posts: 1,886

Submissions (4)

Toadcop is just really nice (299)Toadcop is just really nice (299)

Approved Map: TcXSpell Making Session 10 Winner

Send a message via ICQ to Toadcop
Default

Quote:
Every time you create a new unit and destroy it, WC3's memory use goes up and doesn't seem to come back down. It causes performance degradation over time even if you don't leak.
lol. i wrote this long ago... and "no one" belived me... especially person called Vexorain <_<

btw post what the original idea is by Litany... (afaik) at least i readed this at least ~1 year ago or maybe even earlier.

Quote:
// To make the dummy face a 2 dimensional orientation instantly:
function SetDummyFacing takes unit u, real angle returns nothing
call SetUnitLookAt(u, "Bone_Head", u, Cos(angle)*1000000., Sin(angle)*1000000., 0.)
endfunction
it takes radians or angles ? (imagine it's not SO obvious especialy for users...) looks like radians.

imo for alot objects it may cause performance lose. (wc3 need to rotate model every frame) but ofc i don't know how exactly and much it will degrade it. (cause the initial purporse of this are cinematics)
__________________
Toadcop is offline   Reply With Quote