Search the Community
Showing results for tags 'door'.
The search index is currently processing. Current results may not be complete.
-
I really think Leadwerks doors hate me. During the past couple of years I've been on and off learning Leadwerks, but nothing has caused more furstration than doors! Feels like every time I try to add a simple door to test map, it means trouble. It all began with my very first steps in Leadwerks, for some reason I was not able to create working door even with prefab. I asked my first questions here back then. Well, I moved to other stuff and learned a lot, then second time came back to doors, still no luck! So I went to look for some other door script other than the stock one, found working one and took that as a base for my doors and it worked perfectly. Moved to other stuff, learned more. Now I needed to test some stuff with doors, and it's been a while... and AGAIN, they refuse to work, they stutter and shake. So I reverted back to stock script, merged my own additions to doors to that script and it works, AGAIN... for how long, we don't know... Ps. This was just a rant, doors work now for me, but I can't believe I'm the only one with this much door problems! I've learned so much, done much more complex things by now, but still... doors. DOORS!
-
I'm in the process of making my first game, so i went to Leadwerks and started creating things. The problem comes when I want to make that a door opens when 2 pressure plates are activated. So, i wrote this code to create a "switch" that requires 2 inputs to output a signal to the door (in the flowgraph editor), but it doesn't work... function Script:Start() bool1 = false bool2 = false end function Script:Input1() --in bool1 = true end function Script:Input2() --in bool2 = true end if (bool1 == true and bool2 == true) then self.component:CallOutputs("Output") end what i'm doing wrong? i'm very new in programming
- 2 replies
-
- Lua
- Programming
-
(and 4 more)
Tagged with:
-
So I was just randomly working on my game when I came across this weird little problem. I don't know what gives since I've done the EXACT same "puzzle" before but now it's has this weird glitch on it. The issue is that the player is able to use a door that's only openable via a button. and causes this weird behaviour, while in the pre-alpha level, I did the exact same thing TWICE, same scripts and everything. I've already checked the FPSPlayer, but it can't be that since I can play the other levels fine with it. Here are the doors that work without problems. And the doors that have problems... Any ideas as to what could be causing this?
- 4 replies
-
- door
- weird behaviour
-
(and 1 more)
Tagged with: