grailknighthero
Sergeant Knight
The ability to get the resolution of the player's screen, so as to best optimize presentations and overlays.
maw said:i would like... cultural tags... so that i can limit weapon and armor sales to specific cities.
seems odd that khergs might have an abundance of nordic weapons and armor. maw
I wonder for what purposes you need these functions.Highlander said:Well, we have sine and cosine, but arcsine and arccosine are missing.
Yeah, I know I could make some kind of a function likeRongar said:I wonder for what purposes you need these functions.Highlander said:Well, we have sine and cosine, but arcsine and arccosine are missing.
Anyway module system allows to write code that solves equation sin(x)=y and finds arcsine of y.
For i = 1 To 360
if sin(x)==y
result = x
end
end
Agree.But that's not elegant at all and I think it would quite cpu killing if used often.
I think for such purpose it is better to have function likeI already had pretty many purposes, where I thought I'd need them. For example I have an agent or a cannon that should turn into the direction of his target.
arcsine x =x + 1/2*x^3/3 + 1/2*3/4*x^5/5 + ...Highlander said:arcsine rant )
It always amazes me when I see how horses disappear from battlefield, and I wonder why the module system doesn't allow using this opportunity manually and for human type agents too.Manitas said:agent_remove
badly.
agent_make_unconscious
very useful.