[DECORATE] UndetectableIfDeactivated flag

Remember, just because you request it, that doesn't mean you'll get it.

Moderator: Developers

[DECORATE] UndetectableIfDeactivated flag

Postby Ravick » Tue Apr 24, 2012 8:11 pm

Just a flag that makes monsters invisible, non-solid and non shootbale if they are deactivated. Maybe it could be like they have NOINTERACTION when not active, plus INVISIBLE.

It would help to put monsters on maps, with all the settings of arguments, mapeditors flags and stuff, but just use they later on the map. For example, player puts a monster with certain values on its arguments, plus "deaf" and stuff, but just want it to appear when player is revisiting that sector. if he tries to spawn that monster, he would have to set it a TID, and use ACS to set it's arguments and all other stuff. This way, he could just activate the monster.
User avatar
Ravick
Do what thou wilt, since you don't bug the hell out of me!
 
Joined: 22 Aug 2010
Location: Tubarão, Brasil

Re: [DECORATE] UndetectableIfDeactivated flag

Postby NeuralStunner » Tue Apr 24, 2012 9:01 pm

You could do this yourself with A_ChangeFlag.
User avatar
NeuralStunner
O'Neill with it.
 
Joined: 21 Jul 2009
Location: The Colonies

Re: [DECORATE] UndetectableIfDeactivated flag

Postby Ravick » Tue Apr 24, 2012 10:14 pm

Hum... but in what state? I've tried sometimes to edit a state called Inactive for monsters, but it did only work when I've used inheritance from SwitchableDecoration. Did I do something wrong, or do I need to use this inheritance for monsters if I want to edit thier Inactive state?
User avatar
Ravick
Do what thou wilt, since you don't bug the hell out of me!
 
Joined: 22 Aug 2010
Location: Tubarão, Brasil

Re: [DECORATE] UndetectableIfDeactivated flag

Postby Enjay » Wed Apr 25, 2012 3:18 am

You can use ACS to change an actor to a specific state if you want. Therefore, you could put the code in any state you like (ie your own custom one) and then use ACS to force the actor to that state.

SetActorState
User avatar
Enjay
The Force is strong with this one.
 
Joined: 15 Jul 2003
Location: Scotland

Re: [DECORATE] UndetectableIfDeactivated flag

Postby Ravick » Wed Apr 25, 2012 8:09 am

Yeah, thats what I'm doing, my actros have custom 'undetectable' states, and I change them via ACS.
I just had the Idea to make a "less hacky" way of doing that. But, yeah, that would be redundant.

Thanks anyway :)
User avatar
Ravick
Do what thou wilt, since you don't bug the hell out of me!
 
Joined: 22 Aug 2010
Location: Tubarão, Brasil


Return to Feature Suggestions

Who is online

Users browsing this forum: Zaratul and 0 guests