spawnframe entity inherits position question

PS_VITA

Active member
Hi,

in the level text I have spawn an entity called slug using coords  650 955 990

Code:
spawn	slug
flip 1
coords  650 955 990
at      5550

When the "slug" entity dies after 15 seconds it creates an entity called "slug" 2
using sapawn frame 0 0 0 0

The "slug2" setlayer properties where custom set ( not default) - but I believe the coords  650 955 990 where inherited
from "Slug" - but I wanted for the "Slug2" coords  to be 650 949 990.

How can I modify spawnframe 0 0 0 0 to reflect these cords coords  650 949 990 when spawned

I tried spawnframe 0 5 0 0 and spawnframe 0 0 0 -5

But it's not pushing the entity further into the background it just moves the entity up on both options.

Thanks ( I hope this was not confusing)
 
PS VITA,

This is all spelled out verbatim in the manual.

spawnframe {frame} {x} {z} {a} {relative}

    Used to make entity to spawn another entity. Normally it is used to spawn enemy. Spawning with this has no limit.
    The spawned entity is determined by 'subentity' or 'custentity'.
    {frame} determines at which frame the other entity is spawned.
    {x} determines spawn range in x axis.
    {z} determines spawn range in z axis.
    {a} determines spawn range in y axis.
    {relative} determines where the other entity is spawned.
        0, count from the spawner. Spawned entity will face same direction with the spawner.
        1, count from screen offset.
 

 
Damon Caskey said:
PS VITA,

This is all spelled out verbatim in the manual.

spawnframe {frame} {x} {z} {a} {relative}

    Used to make entity to spawn another entity. Normally it is used to spawn enemy. Spawning with this has no limit.
    The spawned entity is determined by 'subentity' or 'custentity'.
    {frame} determines at which frame the other entity is spawned.
    {x} determines spawn range in x axis.
    {z} determines spawn range in z axis.
    {a} determines spawn range in y axis.
    {relative} determines where the other entity is spawned.
        0, count from the spawner. Spawned entity will face same direction with the spawner.
        1, count from screen offset.
 

Thank you Damon Caskey ,
I will do some more testing,  I thought my initial numbers were correct,  but I will try  again with the relative option. And if not just keep doing some trial and error until I get it right.
 
Back
Top Bottom