Jump to content

Help with Character, Specific Quotes for an action and Intros.


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!

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...