blender/source/gameengine/Expressions
Dalai Felinto 11e3b6b0b5 BGE Expressions: convert "\n" to real \n
example of usage:

0) Game Properties: text (String) and log (Boolean=True)
1) Keyboard Sensor set to AllKeys with log as logging and text as Target
2) Expression Controller: text=="quit\n"
3) Game Actuator: Quit Game

[1] <-> [2] <-> [3] .:. this will quit the game when you write quit + Enter

4) Keyboard Sensor: set to Return
5) And Controller
6) Property Actuator: Assign text property to "" 

[4] <-> [5] <-> [6] .:. this will reset the string everytime you press Enter

# # # # # # # # # # # # # # # # # # # # # # # 
Since the change is in the InputParser.cpp it actually affects all the text
input fields in the Logic Editor. So for instance you can use it in the
assign Property Actuator.
# # # # # # # # # # # # # # # # # # # # # # #
Connect an expression controller: text="idclip\n" with an actuator to disable
the Collision of your walls and you can re-create Doom with only Logic Bricks (:
2011-02-18 10:10:48 +00:00
..
BoolValue.cpp rename and negate DISABLE_PYTHON --> WITH_PYTHON 2010-10-31 04:11:39 +00:00
BoolValue.h rename and negate DISABLE_PYTHON --> WITH_PYTHON 2010-10-31 04:11:39 +00:00
CMakeLists.txt rename blenderlib to blender_add_lib 2010-12-22 23:09:30 +00:00
ConstExpr.cpp remove config.h references, was added for automake build system rev around 124-126 but isnt used by any build systems now. 2010-04-18 10:28:37 +00:00
ConstExpr.h - WITH_CXX_GUARDEDALLOC working again 2010-06-06 01:15:44 +00:00
EmptyValue.cpp remove config.h references, was added for automake build system rev around 124-126 but isnt used by any build systems now. 2010-04-18 10:28:37 +00:00
EmptyValue.h - WITH_CXX_GUARDEDALLOC working again 2010-06-06 01:15:44 +00:00
ErrorValue.cpp remove config.h references, was added for automake build system rev around 124-126 but isnt used by any build systems now. 2010-04-18 10:28:37 +00:00
ErrorValue.h - WITH_CXX_GUARDEDALLOC working again 2010-06-06 01:15:44 +00:00
EXP_C-Api.cpp remove config.h references, was added for automake build system rev around 124-126 but isnt used by any build systems now. 2010-04-18 10:28:37 +00:00
EXP_C-Api.h correct fsf address 2010-02-12 13:34:04 +00:00
Expression.cpp remove config.h references, was added for automake build system rev around 124-126 but isnt used by any build systems now. 2010-04-18 10:28:37 +00:00
Expression.h - WITH_CXX_GUARDEDALLOC working again 2010-06-06 01:15:44 +00:00
FloatValue.cpp rename and negate DISABLE_PYTHON --> WITH_PYTHON 2010-10-31 04:11:39 +00:00
FloatValue.h rename and negate DISABLE_PYTHON --> WITH_PYTHON 2010-10-31 04:11:39 +00:00
IdentifierExpr.cpp remove config.h references, was added for automake build system rev around 124-126 but isnt used by any build systems now. 2010-04-18 10:28:37 +00:00
IdentifierExpr.h - WITH_CXX_GUARDEDALLOC working again 2010-06-06 01:15:44 +00:00
IfExpr.cpp remove config.h references, was added for automake build system rev around 124-126 but isnt used by any build systems now. 2010-04-18 10:28:37 +00:00
IfExpr.h - WITH_CXX_GUARDEDALLOC working again 2010-06-06 01:15:44 +00:00
InputParser.cpp BGE Expressions: convert "\n" to real \n 2011-02-18 10:10:48 +00:00
InputParser.h BGE Expressions: convert "\n" to real \n 2011-02-18 10:10:48 +00:00
IntValue.cpp rename and negate DISABLE_PYTHON --> WITH_PYTHON 2010-10-31 04:11:39 +00:00
IntValue.h rename and negate DISABLE_PYTHON --> WITH_PYTHON 2010-10-31 04:11:39 +00:00
KX_HashedPtr.cpp remove config.h references, was added for automake build system rev around 124-126 but isnt used by any build systems now. 2010-04-18 10:28:37 +00:00
KX_HashedPtr.h - WITH_CXX_GUARDEDALLOC working again 2010-06-06 01:15:44 +00:00
KX_Python.h OSX: Patch associated with Python update to 3.1.2. 2010-11-24 21:39:07 +00:00
ListValue.cpp rename and negate DISABLE_PYTHON --> WITH_PYTHON 2010-10-31 04:11:39 +00:00
ListValue.h rename and negate DISABLE_PYTHON --> WITH_PYTHON 2010-10-31 04:11:39 +00:00
Operator1Expr.cpp remove config.h references, was added for automake build system rev around 124-126 but isnt used by any build systems now. 2010-04-18 10:28:37 +00:00
Operator1Expr.h - WITH_CXX_GUARDEDALLOC working again 2010-06-06 01:15:44 +00:00
Operator2Expr.cpp remove config.h references, was added for automake build system rev around 124-126 but isnt used by any build systems now. 2010-04-18 10:28:37 +00:00
Operator2Expr.h - WITH_CXX_GUARDEDALLOC working again 2010-06-06 01:15:44 +00:00
PyObjectPlus.cpp rename and negate DISABLE_PYTHON --> WITH_PYTHON 2010-10-31 04:11:39 +00:00
PyObjectPlus.h py api was raising SystemError exception incorrectly, this is intended for internal interpreter problems. 2011-02-18 06:04:05 +00:00
SConscript rename libs internal libs for CMake + SCons (used in MSVC project files) 2010-11-18 11:42:05 +00:00
StringValue.cpp remove config.h references, was added for automake build system rev around 124-126 but isnt used by any build systems now. 2010-04-18 10:28:37 +00:00
StringValue.h rename and negate DISABLE_PYTHON --> WITH_PYTHON 2010-10-31 04:11:39 +00:00
Value.cpp rename and negate DISABLE_PYTHON --> WITH_PYTHON 2010-10-31 04:11:39 +00:00
Value.h remove/comment unused defines, also zero FileGlobal.filename to quiet valgrind. 2011-01-16 21:12:38 +00:00
VectorValue.cpp update for MingW/CMake 2010-09-15 16:13:32 +00:00
VectorValue.h - WITH_CXX_GUARDEDALLOC working again 2010-06-06 01:15:44 +00:00
VoidValue.h - WITH_CXX_GUARDEDALLOC working again 2010-06-06 01:15:44 +00:00