| 04-05-2009, 03:05 PM | #1 |
JASS:
if IsPlayerInForce(GetLocalPlayer(), bj_FORCE_ALL_PLAYERS) then
call PingMinimap(0., 0., 30.)
endif
|
| 04-05-2009, 03:23 PM | #2 |
You could use PingMinimapEx Or ; Try PingMinimap( 0.5, 0.5, 30 ) if it pings the middle of the map, then you can do: call PingMinimap( ( GetRectMaxX( bj_mapInitialPlayableArea ) - GetRectMinX( bj_mapInitialPlayableArea ) ) / ( x - GetRectMinX( bj_mapInitialPlayableArea ) ) ... |
| 04-05-2009, 03:35 PM | #3 |
Just tested and your code pings at bottom left corner when run at mapinit and pings in center of map when run at 0.00 sec elapsed game time. do you run this at mapinit? if so, try elapsed game time instead |
| 04-05-2009, 03:55 PM | #4 |
> and pings in center of map when run at 0.00 sec elapsed game time Ah, yes, it is ran at map initialization - that was the problem. Thanks a lot, I got it fixed. |
