Jump to content

Recommended Posts

Hello! I'm currently working on a character for the game, but I'm a little bit confused.
My first question is: How would you trigger a line/quote as soon as the game starts? I already removed the Maxwell intro by adding a file named "modworldgenmain" into the same folder where modmain is, with the following code:

Spoiler


local function StopMaxwell(level)
    if level then
        level.nomaxwell = true
    end
end

AddLevelPreInitAny(StopMaxwell)

(Thanks, chromiumboy!)

Now I need to make my character say something as soon as they wake up, just like Maxwell does, I'm not sure but there's a line in the character speech file named ANNOUNCE_FREEDOM, but i think that's for when you free a character that was in the shadow throne, right?


And also, I'm rather interested in specific quotes for doing a certain action, for instance, I want my character to say something when a pig has been killed, or "hired".

Thanks in advance!

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