Search found 12 matches

by TheDudeD09
Wed Oct 17, 2012 6:12 pm
Forum: Modding
Topic: Check Item Is Missing?
Replies: 12
Views: 11582

Re: Check Item Is Missing?

I see what you did, alas, its working now using a counter, normal connections and 1 cloned mob. Thanks for your help anyway Grimwold, much appreciated.
by TheDudeD09
Wed Oct 17, 2012 5:35 pm
Forum: Modding
Topic: Check Item Is Missing?
Replies: 12
Views: 11582

Re: Check Item Is Missing?

Cloning worked a treat, though I still just cannot understand why it wouldn't work with the earlier scripting. Little bit annoying but alas.
:geek:
by TheDudeD09
Wed Oct 17, 2012 5:19 pm
Forum: Modding
Topic: Check Item Is Missing?
Replies: 12
Views: 11582

Re: Check Item Is Missing?

okay so I tried to change the script to if find entity and that half worked, but the thing is, its buggy has hell and trapped my 2/3 times in the room. However if I use if not find entity then it just doesn't seem to work at all as if its not registering that I'm removing the gems. This is so frustr...
by TheDudeD09
Wed Oct 17, 2012 4:50 pm
Forum: Modding
Topic: Check Item Is Missing?
Replies: 12
Views: 11582

Re: Check Item Is Missing?

Does the 'if not find' search the entire dungeon/level for the target or just the room? I'm really trying to make this work without having to clone the snail simply because I feel as though I shouldn't have to :roll:
by TheDudeD09
Wed Oct 17, 2012 4:34 pm
Forum: Modding
Topic: Check Item Is Missing?
Replies: 12
Views: 11582

Re: Check Item Is Missing?

Although that works for cutting out the timer, at the moment that's not really the issue, its the fact that when I remove the blue gems from its eyes nothing is happening at all. Which either means the timer has something wrong, or the connections are wrong.
by TheDudeD09
Wed Oct 17, 2012 2:34 pm
Forum: Modding
Topic: Check Item Is Missing?
Replies: 12
Views: 11582

Re: Check Item Is Missing?

Ack!! Still not working! :oops: No idea what's going on. So heres the code I'm using: function stillAliveSnails() if not findEntity("shiny_snail_1") then if not findEntity("shiny_snail_2") then shinyTrapGate:open() shinyTrapTimer:deactivate() else shinyTrapGate:close() trapDoorSh...
by TheDudeD09
Wed Oct 17, 2012 2:17 pm
Forum: Modding
Topic: Check Item Is Missing?
Replies: 12
Views: 11582

Re: Check Item Is Missing?

Hold on I missed a trick there, you mean completely take out any scripting looking for items, because the script that starts the timer/trap is triggered simply by the removing of any item from the socket? GENIUS. and/or I was over complicating everything.
by TheDudeD09
Wed Oct 17, 2012 2:11 pm
Forum: Modding
Topic: Check Item Is Missing?
Replies: 12
Views: 11582

Re: Check Item Is Missing?

I think I tried that and if failed, however after reading your link and altering I'm still failing so, I'll show you what I've got at the moment and then try out the deactivate way again for good measure. function hasBlueGem(entity, item) for i in entity:containedItems() do if i.name == item then re...
by TheDudeD09
Wed Oct 17, 2012 12:45 pm
Forum: Modding
Topic: Check Item Is Missing?
Replies: 12
Views: 11582

Check Item Is Missing?

I'm trying to make a trap which is a daemon head with two blue gems for eyes at the end of a corridor. What I want to happen is if the player removes EITHER of the eyes, a gate slams shut trapping them, secret doors open to reveal they are now in a square room with monsters in it. The script I'm cur...
by TheDudeD09
Sun Oct 14, 2012 3:12 pm
Forum: Modding
Topic: Rolling, Trap-Door Bridge
Replies: 4
Views: 3191

Re: Rolling, Trap-Door Bridge

:mrgreen: BOOM! 1 rolling trap door bridge made, just saying Komag, you are a boss.