Total Miner Forums

Total Miner => Creative Features => Topic started by: JediGriffin1 on January 08, 2018, 01:02:05 AM

Title: Mob Scripting(TM PC)
Post by: JediGriffin1 on January 08, 2018, 01:02:05 AM
I am having trouble with scripting hostile mobs (or just any mob in general). When I do the mob script that spawns it and modifies what its health, kill script, item drop, etc. there is no aection to the script that classifies what mob AI it should use, like the npc spawner block. This is a problem because spawning the mob on its own, you cannot do any damage to it if you are using weapons (script damaging still works) but more importantly, if you spawned say a zombie, it will not attack you. The mob will just walk around as if it was spawned from an npc block with nothing changed. Is there sonething I'm missing, is this a bug, or is this something not added to the game yet?
Title: Re: Mob Scripting(TM PC)
Post by: Craig on January 08, 2018, 03:25:19 AM
Yes I'll be adding a parameter to specify a behaviour and dialog tree soon.