Custom states and KEYCONF
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Custom states and KEYCONF
I've got a question for the fourm members. With The newest zdoom and the ability to define custom states in DECORATE, is it possible to activate these states on button presses (similar to the fire, Altfire, etc. states) without messin' with the source? Thanks in advance.
- bagheadspidey
- Posts: 1490
- Joined: Sat Oct 20, 2007 10:31 pm
- Contact:
Re: Custom states and KEYCONF
Yeah, it's possible...
Set up a keyconf lump that binds a key to puke a script that calls SetActorState.
You can look at this thing for an example.
Set up a keyconf lump that binds a key to puke a script that calls SetActorState.
You can look at this thing for an example.