Posts: 4
	Threads: 2
	Joined: Apr 2017
	
Thanks: 0
	Given 0 thank(s) in 0 post(s)
	 
	
		
		
 04-30-2017, 12:01 PM
 
		04-30-2017, 12:01 PM 
		
	 
	
		I was looking into cMonster API and I wanted an example for how you would assign properties to a created monster. I tried to look in essentials at the spawn mob command for an example but it just spawns the mob it doesn't try to apply properties. 
If the example could contain: Setting the speed of the mob to zero it would be appreciated.
	
	
	
	
	
 
 
	
	
	
		
	Posts: 6,482
	Threads: 176
	Joined: Jan 2012
	
Thanks: 131
	Given 1085 thank(s) in 857 post(s)
	 
	
	
		The tolua.cast should not be needed, Cuberite should already provide the correct class to the callback.
	
	
	
	
	
 
 
	
	
	
		
	Posts: 513
	Threads: 10
	Joined: May 2014
	
Thanks: 138
	Given 89 thank(s) in 75 post(s)
	 
	
		
		
		04-30-2017, 06:14 PM 
(This post was last modified: 04-30-2017, 06:15 PM by Seadragon91.)
		
	 
	
		Didn't know, will remove it.
Edit: Done
	
	
	
	
	
 
 
	
	
	
		
	Posts: 4
	Threads: 2
	Joined: Apr 2017
	
Thanks: 0
	Given 0 thank(s) in 0 post(s)
	 
	
		
		
		05-01-2017, 01:57 AM 
(This post was last modified: 05-01-2017, 10:52 AM by djlw78.)
		
	 
	
		The only problem is they still can kinda move and be pushed. I'd want them to be stone.
EDIT: "stone" - unmoving.