how do i layer an overlay in the clients screen?
i have a obj that im loading to the screen but i want to be able to add an overlay to it the thing is when its on the screen it uses the FLOAT_LAYER so how do i get round this small problem.
ID:170756
Dec 18 2004, 10:37 pm
|
|
thanks it works now
New code
Old code
| |||
Madpeter wrote:
thanks it works now
Actually that isn't correct. You're now changing the layer of the weapon itself, which I don't think is at all desirable. Instead, you need to create a new obj, give it the correct icon, state, and layer, and then add that to overlays. The new obj can then be deleted. Lummox JR | ||
thanks i will give that a try.
this seems to work fine :)
can you see any errors in that? | ||
Zmadpeter wrote:
can you see any errors in that? No, but instead, you could be doing:
:) | ||
The same as for any other overlay. Create an obj, give it a layer, add it to the overlays list.
Lummox JR