PDA

View Full Version : DrawLine? DrawRectangle? Etc?



MrZig
Dec 14 2006, 06:58
How do these commands work, and do they work? And can they work on a dialog you make?

Korax
Dec 14 2006, 07:21
I've tested myself and cannot get them to work, even using the example line from the Biki

Silola
Dec 14 2006, 08:35
hi,

the Biki writes that these functions are available only in connection with a control of the kind map

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">
map drawEllipse &#91;center, a, b, angle, color, fill&#93;
Parameters&#58; map&#58; Control[/QUOTE]

bye
silola

MrZig
Dec 14 2006, 17:18
hi,

the Biki writes that these functions are available only in connection with a control of the kind map

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">    
map drawEllipse &#91;center, a, b, angle, color, fill&#93;
Parameters&#58; map&#58; Control

bye
silola[/QUOTE]
Even so, I can&#39;t get it to work on the map..

lwlooz
Dec 14 2006, 19:02
I second .. or actually third the experience of not getting it to work. Not Getting it to work on a Custom Map-Ctrl on a Custom Dialog as created by me.
Either the BIKI leaves out some important information or they dont work.

On that, I can&#39;t get InGameUISetEventhandler to work either.
I had hoped to get control of the ingame map because I can&#39;t findDisplay the BIS Map Display.

MrZig
Dec 19 2006, 04:17
No one knows how to use this command at all? I tried messing with controls to no dice..

miggie
Dec 25 2006, 15:00
maybe you need to force the map to show up before it works

i think it was ForceMap true in ofp..

MrZig
Dec 25 2006, 16:31
No.. I believe it has to be based on a control, with positions being 0-1, based on the dialog. It would seem that these features are non existent.