Hello, I'm new to Doom map-making, DECORATE, and ASC scripting in general.
What I'm trying to do is make an enemy that has multiple attacks, and selects from said attacks randomly. I have no idea how to do this.
Multiple Enemy Attacks?
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.
Re: Multiple Enemy Attacks?
Code: Select all
A_Jump(256, "Attack1", "Attack2", "Attack3")
You put this code in the Melee/Missile state of the monster.
-
- Posts: 5
- Joined: Tue Jun 20, 2017 9:15 am
Re: Multiple Enemy Attacks?
Ah, okay. Thanks a bunch!Lud wrote:Where Attack1 to 3 are the state labels.Code: Select all
A_Jump(256, "Attack1", "Attack2", "Attack3")
You put this code in the Melee/Missile state of the monster.
Re: Multiple Enemy Attacks?
You're welcome.