Suggestion: Mob Script
Suggestion: Mob Script
Why is there a script type for items, but not a seperate script type for mobs. If there was one, not only could you replace plugins like worldguard or worldedit but also plugins like mythicmobs or monsterapocalypse. I know you can spawn custom mobs with the summon (spawn in denizen) command, but a seperate script type for mobs makes creating custom mobs easier, and it opens up to new possibilities. I hope you guys will consider this! Awesome work btw, LUV DENIZEN.
- mcmonkey
- Site Admin
- Posts: 299
- Joined: August 5th, 2016, 7:27 pm
- Location: Los Angeles, California, USA
- Contact:
Re: Suggestion: Mob Script
lol yup ^ Entity scripts exist :P mobs are entities
Denizen lead developer. On Discord as
mcmonkey#6666
.Re: Suggestion: Mob Script
oh... didnt know this lol. my bad!! Thanks a lot though!
Re: Suggestion: Mob Script
And, does someone know in what way i can change the damage a specific entity does to a player?
- mcmonkey
- Site Admin
- Posts: 299
- Joined: August 5th, 2016, 7:27 pm
- Location: Los Angeles, California, USA
- Contact:
Re: Suggestion: Mob Script
"on entity damages entity" event
EG
"on myEntityScript damages player:"
and some determine of damage value, EG "- determine 5"
EG
"on myEntityScript damages player:"
and some determine of damage value, EG "- determine 5"
Denizen lead developer. On Discord as
mcmonkey#6666
.Re: Suggestion: Mob Script
Still some problems. Why can't you spawn in player entities? Is that something Minecraft itself restricts??
- mcmonkey
- Site Admin
- Posts: 299
- Joined: August 5th, 2016, 7:27 pm
- Location: Los Angeles, California, USA
- Contact:
Re: Suggestion: Mob Script
Players tend to have players for the players to be players?
You can spawn a "fake_player" which is a Denizen tester type styled after Citizens, or just spawn a Citizens NPC instead of a default entity.
You can spawn a "fake_player" which is a Denizen tester type styled after Citizens, or just spawn a Citizens NPC instead of a default entity.
Denizen lead developer. On Discord as
mcmonkey#6666
.Who is online
Users browsing this forum: No registered users and 2 guests