Abraxis,
I believe that the code below is an example of what you were asking for on your July 11 post. Opaque dots where the enemies are on the overlay map, with the rest of the map transparent. Hope this helps.
sync on
sync rate 0
autocam off
REM ---------------------
REM ---- SETUP SCENE ----
REM ---------------------
REM make ground
make object plain 1,60,60
color object 1,rgb(0,128,0)
xrotate object 1,-90
REM make boxes and place them at random points on the ground
for t=2 to 100
make object box t,rnd(4),rnd(5),rnd(4)
position object t,-30+rnd(60),object size y(t)/2,-30+rnd(60)
color object t,rgb(rnd(255),rnd(255),rnd(255))
next
REM create player
playerobj=101
make object sphere playerobj,2
xrotate camera 0,0
position camera 0,2,0
REM create and position enemy objects
for t=102 to 110
make object sphere t,2
position object t,-30+rnd(60),2,-30+rnd(60)
color object t,rgb(192,192,255)
next t
REM create and position camera used for literal map;send its info to an image; create sprite to display image with
make camera 1
get image 1,1,1,100,100
set camera to image 1,1,100,100
set current camera 0
sprite 1,10,10,1
REM make the main map transparent
set sprite alpha 1,75
REM make red dots
create bitmap 1,14,14
ink rgb(255,0,0)
for radius#=0 to 5 step .50
circle 7,7,radius#
next radius#
get image 2,1,1,14,14
delete bitmap 1
REM this bitmap will be used behind the scenes to place our red dots on the map
create bitmap 1,100,100
REM this sprite will be overlayed on the map sprite and will hold the red dot image
get image 3,1,1,100,100
sprite 2,10,10,3
REM -------------------
REM ---- MAIN LOOP ----
REM -------------------
repeat
REM player control
if upkey() then move camera 0,.10
if downkey() then move camera 0,-.10
if leftkey() then yrotate camera 0,camera angle y(0)-2
if rightkey() then yrotate camera 0,camera angle y(0)+2
position object playerobj,camera position x(0),2,camera position z(0)
rotate object playerobj,0,camera angle y(0),0
REM position map camera over player
position camera 1,camera position x(0),15,camera position z(0)
rotate camera 1,90,camera angle y(0),0
REM draw dots on scaled map(on bitmap) if they are in the screen
set current camera 1
set current bitmap 1
ink rgb(0,0,0),0
box 1,1,100,1000
for t=102 to 110
if object in screen(t)=1 then paste image 2,object screen x(t)-5,object screen y(t)-5,1
next t
get image 3,1,1,100,100
REM reset bitmap and camera so the rest of the program will work correctly
set current bitmap 0
set current camera 0
sync
until returnkey()
end