A_VileChase("State", friend)
Moderator: GZDoom Developers
- Cutmanmike
- Posts: 11353
- Joined: Mon Oct 06, 2003 3:41 pm
- Operating System Version (Optional): Windows 10
- Location: United Kingdom
- Contact:
A_VileChase("State", friend)
Since we're going to have custom states sooner or later, would it be possible to add two paramaters to Vilechase or a similar codepointer?
The first one would be the state it revies with. With it you could create such things as Corpse explosion, or turn corpses into other things such as mana (if it was going to be a hexen/heretic like game).
The second would simply define if you wanted it to be revived as a friend or not.
The first one would be the state it revies with. With it you could create such things as Corpse explosion, or turn corpses into other things such as mana (if it was going to be a hexen/heretic like game).
The second would simply define if you wanted it to be revived as a friend or not.
- TheDarkArchon
- Posts: 7656
- Joined: Sat Aug 07, 2004 5:14 am
- Location: Some cold place
- Cutmanmike
- Posts: 11353
- Joined: Mon Oct 06, 2003 3:41 pm
- Operating System Version (Optional): Windows 10
- Location: United Kingdom
- Contact:
You can always set a goto parameter in the Raise state.
Code: Select all
Raise:
SARG A 0
Goto Pain
- Cutmanmike
- Posts: 11353
- Joined: Mon Oct 06, 2003 3:41 pm
- Operating System Version (Optional): Windows 10
- Location: United Kingdom
- Contact:
Yes, but you may want different "Archvile" or weapons to ressurect monsters in different ways.
Example, You have a weapon which turns corpses into some form of Health but you have archviles in your map. Like I said this would require custom states.
Edit: I just noticed that the Friendly paramater isn't even needed, since you can use A_ChangeFlag
Example, You have a weapon which turns corpses into some form of Health but you have archviles in your map. Like I said this would require custom states.
Edit: I just noticed that the Friendly paramater isn't even needed, since you can use A_ChangeFlag
- Osiris Kalev
- Posts: 290
- Joined: Sun Aug 20, 2006 11:06 pm
- Location: Australia, Elsewhere Within
- Contact:
- Osiris Kalev
- Posts: 290
- Joined: Sun Aug 20, 2006 11:06 pm
- Location: Australia, Elsewhere Within
- Contact:
- Osiris Kalev
- Posts: 290
- Joined: Sun Aug 20, 2006 11:06 pm
- Location: Australia, Elsewhere Within
- Contact: