Search found 12 matches

by Howl3r
Sun Aug 14, 2016 1:15 pm
Forum: Modding
Topic: how to "action" when monster dies.
Replies: 49
Views: 76072

Re: how to "action" when monster dies.

-- replace <monsterId> and replace <dialog function> with the name of your called function in quotes. <monster_Id>.monster:addConnector('onDie', self.go.id, <dialog function>) <warden_1>.monster:addConnector('onDie', self.go.id, <"function die">) Based on your example, this is how it shou...
by Howl3r
Sun Aug 14, 2016 11:39 am
Forum: Mod Creation
Topic: Ask a simple question, get a simple answer
Replies: 3990
Views: 3428725

Re: Ask a simple question, get a simple answer

Here: (not sure what you meant by "eart") Earth **Requires Earth [magic] or something** BTW: Howl3r is posting questions in both the LoG1 and LoG2 threads; but which game? (It affects the answers) Oh f**k. Yeah thanks for noting me. I have been looking just through the internet for guides...
by Howl3r
Sun Aug 14, 2016 1:10 am
Forum: Modding
Topic: how to "action" when monster dies.
Replies: 49
Views: 76072

Re: how to "action" when monster dies.

So technically it would be always a different enemy, but they all would have last words when they die. Basically I guess knowing how the "onDie" script works would make this a lot easier :) Do they have Individual last words, or would they all just say the same thing? Ondie() works two wa...
by Howl3r
Sun Aug 14, 2016 12:04 am
Forum: Modding
Topic: how to "action" when monster dies.
Replies: 49
Views: 76072

Re: how to "action" when monster dies.

So technically it would be always a different enemy, but they all would have last words when they die. Basically I guess knowing how the "onDie" script works would make this a lot easier :) Do they have Individual last words, or would they all just say the same thing? Ondie() works two wa...
by Howl3r
Sat Aug 13, 2016 9:24 pm
Forum: Mod Creation
Topic: Ask a simple question, get a simple answer
Replies: 3990
Views: 3428725

Re: Ask a simple question, get a simple answer

Is there a way to fiddle with timers and stuff so that I can make an enemy respawn in case it is not killed in given time?
by Howl3r
Sat Aug 13, 2016 9:01 pm
Forum: Modding
Topic: how to "action" when monster dies.
Replies: 49
Views: 76072

Re: how to "action" when monster dies.

So I have a problem. My "action" for the monster is (when it dies) that is says something. I have knowledge of the hudPrint and stuff (sure a full code is always nicer as then I have no problems with making it and I can study it from there easier), but how do I make it connected, so that ...
by Howl3r
Sat Aug 13, 2016 8:47 pm
Forum: Modding
Topic: how to "action" when monster dies.
Replies: 49
Views: 76072

Re: how to "action" when monster dies.

Hello! It's me the one person everyone hates because I don't understand anything xP So I have a problem. My "action" for the monster is (when it dies) that is says something. I have knowledge of the hudPrint and stuff (sure a full code is always nicer as then I have no problems with making...
by Howl3r
Sat Aug 13, 2016 8:35 pm
Forum: Modding
Topic: Useful scripts repository
Replies: 105
Views: 266474

Re: Useful scripts repository

THOM wrote:You can't do this with standard-commands. You have to write a print-text-on-screen-function by your own. But out of the hat I have no solution how to do that...

hudPrint has a given time.
Welp I am an idiot xD
Thank you so much though! :)
by Howl3r
Sat Aug 13, 2016 7:43 pm
Forum: Modding
Topic: Useful scripts repository
Replies: 105
Views: 266474

Re: Useful scripts repository

everything you write in a script-object is is executed at game beginning what you want is function abdcdefg hudPrint("example") end Now you can connect the trigger with the script-entety and choose from the drop-down-menu on the right the name of the function you meant. In this case "...
by Howl3r
Sat Aug 13, 2016 7:25 pm
Forum: Modding
Topic: Useful scripts repository
Replies: 105
Views: 266474

Re: Useful scripts repository

Post on-screen text with a character's name : local name1 = party:getChampion(1):getName() hudPrint("You know "..name1..", you are an incredibly effective adventurer!") COMMENT EDITED: I'm not sure if this is where to ask a question, but I have a little problem. I am not using t...