Jump to content

Recommended Posts

Hello,

 

i tried finding it in the lua files but i had no luck. Is it possible to deploy a message which will appear in the admins chat?

I want to hook certain events like hammering and send a message

f.e. like that:

local ACTIONHAMMER = GLOBAL.ACTIONS.HAMMER.fn
GLOBAL.ACTIONS.HAMMER.fn = function(act)

		-- Message to admins that act.doer has hammered act.target.prefab
		return ACTIONHAMMER(act)
end

Also, how can i hook if someone ignites something?

Unfortunately i couldnt find a way to push a message into a specific users chat. I could use components chatter but it will only display it over the head of the user.

I looked through other addons and through the source code again and couldnt find anything

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...