Jump to content

events OnUnequip and OnItemUse,fire and stop zombie movement


Ramibuk

Recommended Posts

I read about new events OnUnequip and OnItemUse here:

 

http://theindiestone.com/forums/index.php/topic/567-lua-requests/

 

but,when i try add 

 

function myfunction()

end

Events.OnUnequip.Add(myFunction) ;

 

game refuse to read it.Are these events already in game or i did something wrong?  

 

EDIT:Also i want to know where to look how molotov cocktail and barbed wire fence work.To be more specific i need to start fire and stop zombie from moving when hit.Thanks.

Edited by Ramibuk
Link to comment
Share on other sites

function myfunction()endEvents.OnUnequip.Add(myFunction) ;

This Event hasn't been implemented yet ;)

Also i want to know where to look how molotov cocktail and barbed wire fence work.To be more specific i need to start fire and stop zombie from moving when hit.Thanks.

Please make a new thread for these questions.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...