I’m creating my own level with the level editor.
I have asked this question before, but I’m still confused.
What part of the code should I change and what should I change it to?
Here’s what I want to do:
- Make the Ogres passive until hero attacks it
- Make the Ogre drop a gold key upon death
- Make another Ogre kill the hero upon death
- Randomly generate which ogre will kill the hero and which one will drop the key
- Assign the ogre a special Id