- Joined
- Aug 23, 2008
- Messages
- 2,319
Behold: My not working trigger:
Behold again: My working ArrowKeyDown triggers:
Finally behold: My question:
Why doesn't the 'Wait until (ArrowKeyDown Equal to True), checking every 0.10 seconds' work? The text appears, but I when I press the Down Arrow Key, nothing happens! The text is still there.
-
Actions
-
Set ArrowKeyDown = False
-
Set UnknownVoice = ((Center of Unknown voice <gen>) offset by (-500.00, 0.00))
-
Floating Text - Create floating text that reads ???: Who's there? at UnknownVoice with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
-
Set FloatingText = (Last created floating text)
-
Wait until (ArrowKeyDown Equal to True), checking every 0.10 seconds
-
Floating Text - Destroy FloatingText
-
Behold again: My working ArrowKeyDown triggers:
-
Down Arrow Key ON
-
Events
-
Player - Player 1 (Red) Presses the Down Arrow key
-
-
Conditions
-
Actions
-
Set ArrowKeyDown = True
-
-
-
Down Arrow Key OFF
-
Events
-
Player - Player 1 (Red) Releases the Down Arrow key
-
-
Conditions
-
Actions
-
Set ArrowKeyDown = False
-
-
Finally behold: My question:
Why doesn't the 'Wait until (ArrowKeyDown Equal to True), checking every 0.10 seconds' work? The text appears, but I when I press the Down Arrow Key, nothing happens! The text is still there.