Search found 5 matches

by Tyrion
Thu Oct 11, 2012 10:35 pm
Forum: Modding
Topic: Kill monster when timer reaches 0
Replies: 7
Views: 6229

Re: Kill monster when timer reaches 0

And it's working.
Thanks a lot. :)
by Tyrion
Thu Oct 11, 2012 7:46 pm
Forum: Modding
Topic: Kill monster when timer reaches 0
Replies: 7
Views: 6229

Re: Kill monster when timer reaches 0

Thank you so far, I think, I'm almost there. So the setup looks like this. Once the player enters the room, there's a hidden pressure plate. The pressure plate connects to the timer and activates it. The timer then connects to a counter, which gets decremented every second. The counter finally conne...
by Tyrion
Thu Oct 11, 2012 2:20 pm
Forum: Modding
Topic: Kill monster when timer reaches 0
Replies: 7
Views: 6229

Kill monster when timer reaches 0

Hey. I need a little help again with my programming. I want to make a room containing two monsters. When the player enters the room, the timer starts ticking. After 30 seconds or so, when the timer reaches 0, it should kill the two monsters in that room automatically. I'm not so sure how to do that....
by Tyrion
Wed Oct 10, 2012 11:10 am
Forum: Modding
Topic: how to "action" when monster dies.
Replies: 49
Views: 70579

Re: how to "action" when monster dies.

I was able to get a monster's death to open a door using the following: cloneObject { name = "snail2", baseObject = "snail", onDie = function(self) dungeon_door_iron_1:open() end, } If it returns "false" then when the monster "dies" it doesn't really, but the...
by Tyrion
Tue Oct 09, 2012 11:35 pm
Forum: Modding
Topic: Alcove Puzzle (multiple items)
Replies: 1
Views: 2101

Alcove Puzzle (multiple items)

Hey there. I hope this question has not been asked before, but I couldn't find something similar in the forum. I want to write a skript, that executes the following puzzle: There is a dungeon room with a door and three alcoves. Three gems have to be placed in the right alcove according to a puzzle i...