drawEllipse – Talk
Categories: 
Killzone Kid (talk | contribs)  (→Broken Notes:  new section)  | 
				Lou Montana (talk | contribs)  m (Text replacement - " <!-- Note Section [A-Z]+ -->" to "")  | 
				||
| (One intermediate revision by the same user not shown) | |||
| Line 15: | Line 15: | ||
== Broken Notes ==  | == Broken Notes ==  | ||
Fill can be empty string or path to texture with which to fill the ellipse.  | Fill can be empty string or path to texture with which to fill the ellipse.  | ||
Function must be called every time the map control is re-drawn, therefore it should be initiated by drawMap[] event of an editor object to be visible.  | Function must be called every time the map control is re-drawn, therefore it should be initiated by drawMap[] event of an editor object to be visible.  | ||
Latest revision as of 01:01, 6 April 2021
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 };
  };
};
Broken Notes
Fill can be empty string or path to texture with which to fill the ellipse.
Function must be called every time the map control is re-drawn, therefore it should be initiated by drawMap[] event of an editor object to be visible.