Transfer model to another actor

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.

Transfer model to another actor

Postby Apeirogon » Sun Nov 17, 2019 3:25 pm

So I have actor which is use model for its states.

How transfer that model to another actor, without defining same model twice in modeldef for two different actors?
Apeirogon
I have a strange sense of humour
 
Joined: 12 Jun 2017

Re: Transfer model to another actor

Postby Cherno » Sun Nov 17, 2019 4:08 pm

MODELDEF inheritance has been discussed before but it doesn't look like it's gonna happen in the near future so you'll just have to write a MODELDEF entry for each actor.
User avatar
Cherno
 
Joined: 06 Dec 2016


Return to Scripting

Who is online

Users browsing this forum: AFADoomer, Se7eNytes and 1 guest