Jump to content

UnrealOni/Documentation: Difference between revisions

For now I don't think I will post here all functions and variables. Only a few examples. If there are more, there is github to dl the project.
mNo edit summary
(For now I don't think I will post here all functions and variables. Only a few examples. If there are more, there is github to dl the project.)
Line 149: Line 149:


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.
===Sample functions and variables===
[[Image:UnrealOni_console_func_ai2_chump.png|right|thumb|Function ai2_chump]]
;ai2_chump
ai2_chump spawns a character, always face-to-face and 100 units away.
A better "chump" character is meant to implemented later, matching player's team id.
Also, the attached ai2_followme is not implemented yet.
Dev notes: the rotation parts can probably by recycled for cheat code '''''munitionfrenzy'''''. <!--use loop for increasing the angle-->
8,018

edits