UnrealOni/Documentation: Difference between revisions

m
+ image, ai2_chump from custom dev console
mNo edit summary
m (+ image, ai2_chump from custom dev console)
Line 223: Line 223:
==Debugging==
==Debugging==
===Live scripting===
===Live scripting===
[[Image:UnrealOni_dev_console.png|right|thumb|Dev console (construction)]]
In Oni you can do some scripting with the developer console.
In Oni you can do some scripting with the developer console.


Line 243: Line 242:


Todo: Use = sign and spaces as separator and a select node to handle the different variables and functions.
Todo: Use = sign and spaces as separator and a select node to handle the different variables and functions.
<gallery>
Image:UnrealOni_dev_console.png|right|thumb|Dev console (construction)
</gallery>






===Sample functions and variables===
===Sample functions and variables===
[[Image:UnrealOni_console_func_ai2_chump.png|right|thumb|Function ai2_chump]]
;ai2_chump
;ai2_chump


Line 256: Line 257:


Also, the attached ai2_followme is not implemented yet.
Also, the attached ai2_followme is not implemented yet.
<gallery>
Image:UnrealOni_console_func_ai2_chump.png|right|thumb|Function ai2_chump
Image:UnrealOni_console_func_ai2_chump_result.png|right|thumb|ai2_chump called from a custom dev console
</gallery>




8,018

edits