Editnum in ZScript?

Ask about ACS, DECORATE, ZScript, or any other scripting questions here!

Moderator: GZDoom Developers

Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.

Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
Post Reply
User avatar
Enjay
 
 
Posts: 27066
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Editnum in ZScript?

Post by Enjay »

Quick question, how do I (or can I) give a defined actor class a DoomEdNum in ZScript. The old DECORATE way of just adding it to the end of the header line for the actor tells me it's an unexpected integer.

I know that the new way to add DoomEdNums is via MAPINFO but I was trying to add a new ZScript actor to a project that already has a few actors defined in DECORATE along with their DoomEdNums in their DECORATE definitions.

So rather than have two different systems (some Ednums in DECORATE and others in MAPINFO) or go through and edit all the DECORATE files to prune out DoomEdNums and transfer them to MAPINFO, I thought I'd try to give the ZScript definition an Ednum instead.

Possible?
Gez
 
 
Posts: 17946
Joined: Fri Jul 06, 2007 3:22 pm

Re: Editnum in ZScript?

Post by Gez »

AFAIK, no, it's been offloaded entirely to MAPINFO. Same for spawn numbers and conversation IDs.
User avatar
Enjay
 
 
Posts: 27066
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: Editnum in ZScript?

Post by Enjay »

Fair enough, thanks. I'll just have to decide which way I want to resolve this I guess. Maybe transferring everything to one place in MAPINFO makes sense anyway.

I guess this will be my afternoon...
cut/paste/cut/paste/cut/paste/cut/paste/cut/paste/cut/paste/ ;)
Post Reply

Return to “Scripting”