Spawn actors above 3d floors?

Advanced OpenGL source port fork from ZDoom, picking up where ZDoomGL left off.
[Home] [Download] [Git builds (Win)] [Git builds (Mac)] [Wiki] [Repo] [Bugs&Suggestions]

Moderator: Graf Zahl

Locked
User avatar
Vren Lyet
Posts: 7
Joined: Wed Aug 16, 2006 0:53
Location: some small mostly blue stellar object

Spawn actors above 3d floors?

Post by Vren Lyet »

Is it possible to spawn an actor on top of a 3d floor?

I tried several spawn action specials (using map spots) but regardless of what z-height I used the actor was always spawned below the 3d floor.

BTW: The built-in spawn action seems to be not working somehow. I'm not sure if I did something wrong with this one though...
User avatar
Sir_Alien
Posts: 80
Joined: Tue Sep 13, 2005 8:23
Location: Sydney, Australia
Contact:

Post by Sir_Alien »

What exact function are you using? It's easier for us to help you if you post your code.

And you're giving the map-spots themselves a z-height too, yes?
User avatar
Vren Lyet
Posts: 7
Joined: Wed Aug 16, 2006 0:53
Location: some small mostly blue stellar object

Post by Vren Lyet »

Sorry, it seems I figured it out myself...stupid me.

I set the z-height of the MapSpot, but I didn't realize that this z-height has to be relative to the real sector's floor (not the real z-height of the map).

Now it works perfectly - this is great.

Thanx anyways for the quick answer!
User avatar
Sir_Alien
Posts: 80
Joined: Tue Sep 13, 2005 8:23
Location: Sydney, Australia
Contact:

Post by Sir_Alien »

Ha, an easy mistake to make. ;)

Glad you sorted it out. :thumb:
Locked

Return to “GZDoom”