Gzdoom cant find defined actor

Ask about ACS, DECORATE, ZScript, or any other scripting questions here!
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
Apeirogon
Posts: 1606
Joined: Mon Jun 12, 2017 12:57 am

Gzdoom cant find defined actor

Post by Apeirogon »

I try to clean mess within brutal doom pack.
I create folders tree, place all files from the root in this tree, define all paths to it, include it to decorate in pack root, but gzdoom cant find some ACTORS inside of defined FILES. I double check all paths in decorate and in folder tree, it match up.
Most error refer to type

Code: Select all

Script error, path_to_file line NaN
Parent type 'Ancestor' not found in Descendant
Attempt to get invalid state state_from_ancestor from actor Descendant
Both actors defined in different files. Like actor "RevenantBalls" define in "monsters/revenant.txt" and it descendant "PlayerRevenantBalls" define in "weapons/hellweapon/revenantmissilelauncher.txt".
But if I comment inheritance, it load without any error. Well, excluding errors like "try to jump to not existing state".

Whats going on?
User avatar
wildweasel
Posts: 21706
Joined: Tue Jul 15, 2003 7:33 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): A lot of them
Graphics Processor: Not Listed
Contact:

Re: Gzdoom cant find defined actor

Post by wildweasel »

...We're going to need to see your WAD/PK3 file. This vague description does not help me understand your setup.
Post Reply

Return to “Scripting”