"spawner position" option

If there is something important you think is missing in the current version of ZGameEditor then you can post a feature request here!

Moderator: Moderators

Post Reply
kattle87
Posts: 402
Joined: Wed Sep 26, 2007 9:06 am
Location: Italy

"spawner position" option

Post by kattle87 »

A nice feature would be this: when you choose "use spawner position" as option, the position component should be used as an offset instead of just being ignored.
would something like this work?

if UseSpawnerPosition and (CurrentModel<>nil) then
if not VecIsNull3(Position) then
Spawned.Position := CurrentModel.Position + Position;
else
Spawned.Position := CurrentModel.Position;
else
begin
if not VecIsNull3(Position) then
Spawned.Position := Position;
end;
Post Reply