drawEllipse – Talk

From Bohemia Interactive Community
Revision as of 13:30, 1 February 2010 by Besselinksjm (talk | contribs) (possible solution for EH)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

this might work (from the forums: untested) by: ruag2vbs

testFunc = { map drawEllipse [ getPos player, 50, 50, 0, [1,1,0,1], ""]; };
while { true } do
{
  if( map == map ) then
  {
    map ctrlSetEventHandler [ "Draw", "[_this] call testFunc;" ];
       
    waituntil { map != map };
  };

};