Questions about overlay IDs

Started by Kennedy, Sat 04/10/2003 10:05:14

Previous topic - Next topic

Kennedy

When I use a create overlay function, what is the default overlay id if I type something like:

CreateGraphicOverlay(100,100,300,1);

Is it automaticly set to 1 or based on the number of overlays currently on the screen?
Or does it have to be specified by typing something like:

over1=CreateTextOverlay (50,80,120,2,15,"This is a text overlay");



Pumaman

Always use it like this:

int overlay_id = CreateGraphicOverlay(100,100,300,1);

You cannot predict what the ID might be.

SMF spam blocked by CleanTalk