Re: Trying to create a door I can open and close with the GDE.
Ok, I have this, but, button 3 still doesn't want to make the state switch from closed to open.
Button 3 Pressed
setlv "Changed State" "False"
if "Col" "Player" "==" "L" ""
if "L" "State" "==" "C" "Closed" "Main House Front Door"
setlv "State" "Open" "Main House Front Door"
setlv "Changed State" "True"
endif
if "L" "State" "==" "C" "Open" "Main House Front Door"
if "L" "Changed State" "==" "C" "True"
setlv "State" "Closed" "Main House Front Door"
endif
endif
endif
I've also got the door to make a sound if it is closed and the player runs into it. Not sure what the heck I'm missing. I know... I'm close... Somehow. But, I can't figure out where. Lol.
-- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector