Suggestion: Mob Script

Discuss any issues with Denizen-Bukkit scripts or functionality you may have while using it.
Post Reply
Mr.Mango
New
New
Posts: 5
Joined: February 16th, 2017, 4:26 pm

Suggestion: Mob Script

Post by Mr.Mango » March 27th, 2017, 2:15 pm

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.

User avatar
xenmai
User
User
Posts: 10
Joined: August 11th, 2016, 3:26 pm

Re: Suggestion: Mob Script

Post by xenmai » March 27th, 2017, 2:26 pm


User avatar
mcmonkey
Site Admin
Site Admin
Posts: 217
Joined: August 5th, 2016, 7:27 pm
Location: Los Angeles, California, USA
Contact:

Re: Suggestion: Mob Script

Post by mcmonkey » March 27th, 2017, 2:28 pm

lol yup ^ Entity scripts exist :P mobs are entities
Denizen lead developer.
http://mcmonkey.org

Mr.Mango
New
New
Posts: 5
Joined: February 16th, 2017, 4:26 pm

Re: Suggestion: Mob Script

Post by Mr.Mango » March 27th, 2017, 2:48 pm

oh... didnt know this lol. my bad!! Thanks a lot though!

Mr.Mango
New
New
Posts: 5
Joined: February 16th, 2017, 4:26 pm

Re: Suggestion: Mob Script

Post by Mr.Mango » April 1st, 2017, 3:27 am

And, does someone know in what way i can change the damage a specific entity does to a player?

User avatar
mcmonkey
Site Admin
Site Admin
Posts: 217
Joined: August 5th, 2016, 7:27 pm
Location: Los Angeles, California, USA
Contact:

Re: Suggestion: Mob Script

Post by mcmonkey » April 1st, 2017, 9:17 pm

"on entity damages entity" event
EG
"on myEntityScript damages player:"

and some determine of damage value, EG "- determine 5"
Denizen lead developer.
http://mcmonkey.org

Mr.Mango
New
New
Posts: 5
Joined: February 16th, 2017, 4:26 pm

Re: Suggestion: Mob Script

Post by Mr.Mango » April 16th, 2017, 3:12 am

Still some problems. Why can't you spawn in player entities? Is that something Minecraft itself restricts??

User avatar
mcmonkey
Site Admin
Site Admin
Posts: 217
Joined: August 5th, 2016, 7:27 pm
Location: Los Angeles, California, USA
Contact:

Re: Suggestion: Mob Script

Post by mcmonkey » April 16th, 2017, 3:21 am

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.
Denizen lead developer.
http://mcmonkey.org

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest