Page 1 of 1
turning unit into nanoframe?
Posted: 26 Apr 2012, 06:48
by knorke
is it possible to turn a unit back into a nanoframe?
I tried
Spring.SetUnitHealth (unitID, {build =0.5})
but it does not turn into a nanoframe (healtbar widget shows buildprogress as 50% though)
Re: turning unit into nanoframe?
Posted: 26 Apr 2012, 13:27
by Beherith
I know this may be redundant and useless info, but I recall CA had incremental reclaim of stuff where the stuff turned back into nanoframes.
Re: turning unit into nanoframe?
Posted: 26 Apr 2012, 14:23
by Jazcash
Beherith wrote:I know this may be redundant and useless info, but I recall CA had incremental reclaim of stuff where the stuff turned back into nanoframes.
ZK Still has it
Re: turning unit into nanoframe?
Posted: 26 Apr 2012, 22:51
by knorke
when creating a unit you can set the build parameter to true like this:
Spring.CreateUnit (bdefID, x,y,z, i, teamID, true)
and it will be nanoframe.
I thought the parameters at end were a table..thanks Rafal[0K] for pointing out
so for now that is good enough for me.