[DECORATE] Hurting a player touching a monster.
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.
- cyber-menace
- Posts: 186
- Joined: Thu Mar 18, 2004 12:05 pm
- Location: N/A
[DECORATE] Hurting a player touching a monster.
Is there anyway to have a monster damage the player if he touches it? Kinda like the Duke3d bosses. I need this to give my Mega Cyberdemon a form of defense if the player gets really close to him.
- cyber-menace
- Posts: 186
- Joined: Thu Mar 18, 2004 12:05 pm
- Location: N/A
- Ixnatifual
- Posts: 2287
- Joined: Fri Dec 12, 2003 6:44 pm
- Contact:
- TheDarkArchon
- Posts: 7656
- Joined: Sat Aug 07, 2004 5:14 am
- Location: Some cold place
Re: [DECORATE] Hurting a player touching a monster.
Perhaps you can give him a very quick melee attack that's like one frame long or something (you could even use a walking frame to make it completely unnoticeable).cyber-menace wrote:Is there anyway to have a monster damage the player if he touches it? Kinda like the Duke3d bosses. I need this to give my Mega Cyberdemon a form of defense if the player gets really close to him.
- TheDarkArchon
- Posts: 7656
- Joined: Sat Aug 07, 2004 5:14 am
- Location: Some cold place
- cyber-menace
- Posts: 186
- Joined: Thu Mar 18, 2004 12:05 pm
- Location: N/A
- TheDarkArchon
- Posts: 7656
- Joined: Sat Aug 07, 2004 5:14 am
- Location: Some cold place
Code: Select all
}
...properties (Include EXPLOSIONDAMAGE and EXPLOSIONRADIUS)...
States
{
See:
CYBR A 3 A_Hoof
CYBR A 0 A_Explode
CYBR ABBC 3 A_Chase
CYBR C 0 A_Explode
CYBR C 3 A_Chase
CYBR D 3 A_Metal
CYBR D 3 A_Chase
Goto See
....Rest of states....
}
}
- cyber-menace
- Posts: 186
- Joined: Thu Mar 18, 2004 12:05 pm
- Location: N/A