Hi!
I began to wonder is there any way to set a state of an actor via script etc?
Say that an actor has a state called "jump" which makes the actor well, jump.
Can you make the actor go into this state say by crossing a linedef in a map
that would command the actor to go into that state?
Or if you have a imp behind a door, and as the door opens, instead of normally
activating. You could tell it to go into some spesific state (in this case a jump state for an ambush attack.)
Or if I would have made some custom state for purely cutscene type situations like
a guy waving his hand. To make actor execute that state via external command.
Tried to search various ACS functions etc. But could not find anything useful.
Possibility to change or set actors states?
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!)
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!)
-
- Posts: 332
- Joined: Mon Aug 01, 2011 7:39 pm
- Graphics Processor: nVidia (Modern GZDoom)
- Location: Finland
-
- Posts: 2149
- Joined: Thu May 02, 2013 1:27 am
- Operating System Version (Optional): Windows 10
- Graphics Processor: nVidia with Vulkan support
- Location: Brazil
Re: Possibility to change or set actors states?
You can make an actor go to a specific state from an ACS script with SetActorState.
-
- Posts: 332
- Joined: Mon Aug 01, 2011 7:39 pm
- Graphics Processor: nVidia (Modern GZDoom)
- Location: Finland
Re: Possibility to change or set actors states?
Thank you very much. I wonder how I did not find that function while I was browsing! 
