[Addressed] Add translation parameter to all spawning functions

Moderator: GZDoom Developers

Postby HotWax » Mon Nov 27, 2006 9:34 am

I'm betting the answer lies in the "flags" argument. ;)
User avatar
HotWax
Do what you must, and pay the price later.
 
Joined: 18 Jul 2003
Location: Idaho Falls, ID

Postby Cutmanmike » Mon Nov 27, 2006 9:36 am

Oh. I thought that was for flags as in +DROPOFF and whatnot.
User avatar
Cutmanmike
Is it hot in here or is it just ZScript
 
Joined: 06 Oct 2003
Location: United Kingdom
Discord: https://discord.gg/Whts7Bj
Operating System: Windows Vista/7/2008 64-bit

Postby Graf Zahl » Mon Nov 27, 2006 10:27 am

HotWax is correct. Here's the current flags. I think the names speak for themselves so I won't explain them.

SIXF_TRANSFERTRANSLATION=1,
SIXF_ABSOLUTEPOSITION=2,
SIXF_ABSOLUTEANGLE=4,
SIXF_ABSOLUTEMOMENTUM=8,
SIXF_SETMASTER=16
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

Postby Anakin S. » Tue Nov 28, 2006 1:32 am

So if you want multiple flags, do you just add them up?
User avatar
Anakin S.
Am I evil?
 
Joined: 28 Nov 2003
Location: A long time ago in a galaxy far, far away...

Postby Bio Hazard » Tue Nov 28, 2006 2:08 am

You separate them with '|'. (e.g. SIXF_ABSOLUTEPOSITION|SIXF_ABSOLUTEANGLE)
User avatar
Bio Hazard
Lord of the Lord of Nitpicking.
 
Joined: 15 Aug 2003
Location: ferret ~/C/ZDL $

Postby Grubber » Tue Nov 28, 2006 2:16 am

Err.. I think the names won't be available in DECORATE (I might be wrong), so you have to simply add the numbers.
User avatar
Grubber
I can wire anything directly into anything. I am the professor!
 
Joined: 15 Oct 2003
Location: Czech Republic

Postby Graf Zahl » Tue Nov 28, 2006 2:37 am

Right now there is no constant support in DECORATE - but it sure should be added ASAP because many of the multi-parameter DECORATE functions can get quite unreadable.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

Previous

Return to Closed Feature Suggestions

Who is online

Users browsing this forum: No registered users and 1 guest