Page 1 of 1

Calling a state directly

Posted: Tue Sep 18, 2007 2:18
by Darlos
Alright guys, I've been racking my brain about this for a while. I've been using ZDoom for a while now, and I just now switched to GZDoom so I can get custom states and some better-looking stuff.

So, here's my question: is there some way to set up a key bind that just directly calls a state of a player's weapon? I've looked at some mods at how they set stuff up, and there was some somewhat hackish stuff where custom inventory items were thrown around as flags and variables which THEN told the gun to jump to the custom state. I'm just wondering if thats really necessary, as I'd like to be as clean as possible about it.

I'll start working with stuff like that for the moment, though, in case the answer turns out to be a resounding "no."

Posted: Tue Sep 18, 2007 3:34
by wildweasel
Far as I can tell, there's no direct way to send a weapon to a state with a simple keypress - the closest I've found is to just use custom inventory items like you mentioned. A pain, yes, but I doubt it's going to change anytime soon.

Posted: Tue Sep 18, 2007 6:04
by Darlos
Eh, well, thats all I wanted to know. Thanks.