Jump to content

Recommended Posts

local function ChattyNodePostConstructor(self, inst, chatlines, child)
	local newchatlines = {}
	for i,v in ipairs(self.chatlines) do
		newchatlines[i] = v .. " DUDE!"
	end
	self.chatlines = newchatlines
end
AddGlobalClassPostConstruct("behaviours/chattynode", "ChattyNode", ChattyNodePostConstructor)

Hello, I'm new to DS and DST modding. I've read the example for DST. I don't know where to ask a quick question so I decided to ask here.

--[[TOO LONG DIDN'T READ]]--
Does these lines of code consider an All_client_require_mod or is it just a Client_only_mod?

Thank you for your answer

Link to comment
https://forums.kleientertainment.com/forums/topic/72044-quick-question/
Share on other sites

7 hours ago, eZeth said:

Does these lines of code consider an All_client_require_mod or is it just a Client_only_mod?

Your character's saying " DUDE!" with speech yes? So, I think all people would require the mod or the other people wouldn't see your character talking & maybe crash, I think? But you should test to make sure I guess, sorry I wasn't really any help..

Edited by SuperDavid

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