Maybe I'm stupid/blind or whatever, but I somehow can't find possibility to add "Enter" in KeyPress ... I'm pretty sure Carriage Return is code 15, but when I set CharCode 15, it simply doesn't work ...
I haven't tried using CharCodes in ZGE before, maybe I'm doing something wrong, any help ?
wierd ...
Moderator: Moderators
- jph_wacheski
- Posts: 1005
- Joined: Sat Feb 16, 2008 8:10 pm
- Location: Canada
- Contact:
Code: Select all
ZZDC<?xml version="1.0" encoding="iso-8859-1" ?>
<KeyPress Comment="press ENTER" CharCode="13"/>
It is CharCode 13,. and when you use the numbered codes inplace of regular Keys you must leave the Keys feild BLANK.
Ville did add the main ones here; http://www.zgameeditor.org/index.php/Co ... f/KeyPress
iterationGAMES.com
- jph_wacheski
- Posts: 1005
- Joined: Sat Feb 16, 2008 8:10 pm
- Location: Canada
- Contact:
yeah I did the same thing,. drove me knuts for a few minuets,. .
Deleting the components and rebuilding them will, in this case, have fixed it,. as you can't really see a 'space' unless you go to the feild and move the cursor about. Sometimes you just gota rip out parts of your structure to get things working again,. In scripting i often have a : in place of a ; and that drives me to madness as well,. we are dumb monkeys eh.
Deleting the components and rebuilding them will, in this case, have fixed it,. as you can't really see a 'space' unless you go to the feild and move the cursor about. Sometimes you just gota rip out parts of your structure to get things working again,. In scripting i often have a : in place of a ; and that drives me to madness as well,. we are dumb monkeys eh.
iterationGAMES.com