Custom states and KEYCONF

Archive of the old editing forum
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.
Locked
Askaxarus
Posts: 44
Joined: Mon Jun 09, 2008 6:05 pm
Location: Alberta, Canada

Custom states and KEYCONF

Post by Askaxarus »

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.
User avatar
bagheadspidey
Posts: 1490
Joined: Sat Oct 20, 2007 10:31 pm
Contact:

Re: Custom states and KEYCONF

Post by bagheadspidey »

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.
Locked

Return to “Editing (Archive)”