Search found 13 matches
- Mon Sep 17, 2012 2:13 am
- Forum: Modding
- Topic: Grimrock.exe stopped working
- Replies: 45
- Views: 35220
Re: Grimrock.exe stopped working
Also experiencing this.
- Sun Sep 16, 2012 5:24 pm
- Forum: Modding
- Topic: Daemon eye socket problem.
- Replies: 8
- Views: 7530
Re: Daemon eye socket problem.
Gah! Figures, I was close at one point, I tried using the return command to get the string from the arguments, but I must have been screwing up the syntax somewhere. LUA seems to have a lot of similarities to Pascal and C, but it's different enough that it's been throwing me for loops. Thank you Pet...
- Sat Sep 15, 2012 2:30 pm
- Forum: Modding
- Topic: how to spawn a monster only if a certain square is empty?
- Replies: 15
- Views: 12012
Re: how to spawn a monster only if a certain square is empty
The other option for flying enemies would be to use a blob spawner and a hidden receptor, and have the monster spawn if the blob activates the receptor. Pretty sure monsters block blobs. Otherwise, I'm not sure what you would connect Magus' lua script to exactly, maybe hidden pressure plate and a ti...
- Sat Sep 15, 2012 2:14 pm
- Forum: Modding
- Topic: how to spawn a monster only if a certain square is empty?
- Replies: 15
- Views: 12012
Re: how to spawn a monster only if a certain square is empty
How big is the closet? Just 1 square? Then you should be able to connect the plate to that lua script entity, and then just use spawn("your_choice_of_Monster", closet level, closet x, closet y, respawn rate) instead of closetspawn:activate()
- Sat Sep 15, 2012 1:53 pm
- Forum: Modding
- Topic: how to spawn a monster only if a certain square is empty?
- Replies: 15
- Views: 12012
Re: how to spawn a monster only if a certain square is empty
Yep, the hidden pressure plates have check boxes for Triggered by... Party, Items, Monster. Just turn off Items and you should be good to go.
- Sat Sep 15, 2012 1:45 pm
- Forum: Modding
- Topic: mouth_socket . how is it used?
- Replies: 8
- Views: 7181
Re: mouth_socket . how is it used?
If you want to use something other then a green gem in the mouth: cloneObject{ name = "multi_mouth_socket", baseObject = "mouth_socket", onInsertItem = function() print("Gem inserted mouth.") return true end, } However, fair warning, it's not without it's issues as I've...
- Sat Sep 15, 2012 1:35 pm
- Forum: Modding
- Topic: Daemon eye socket problem.
- Replies: 8
- Views: 7530
Re: Daemon eye socket problem.
The function should return false when the socket wants to reject an item. Now it returns true for any item. Ok, so how do we adjust the arguments so that it will accept a specific gem (return true) and reject the others (return false) with the onInsertItem function? I can't get that to happen as ei...
- Fri Sep 14, 2012 2:19 pm
- Forum: Modding
- Topic: I'm stumped... help!
- Replies: 25
- Views: 32193
Re: I'm stumped... help!
Ok, now that I have the various colored gem socket "keys" figured out, is there any way for me to prevent the party from taking the gem back out once it's inserted?
- Fri Sep 14, 2012 10:33 am
- Forum: Modding
- Topic: I'm stumped... help!
- Replies: 25
- Views: 32193
Re: I'm stumped... help!
Finally... Just in case someone else wanted to insert varied color gems in eye sockets: cloneObject{ name = "green_eye_right", baseObject = "eye_socket_right", onInsertItem = function(green_gem) print("Green Gem Inserted Right") return true end, } Obviously place this i...
- Thu Sep 13, 2012 7:58 pm
- Forum: Modding
- Topic: I'm stumped... help!
- Replies: 25
- Views: 32193
Re: I'm stumped... help!
Ah, ok, that points me in a productive direction. Thank you very much!