OBD:BINA/OBJC/PATR: Difference between revisions

m
notes on "move to point", "turn head ...", and unknown '20'
m (the flags are 'mentioned' inside the exe but they don't appear to work)
m (notes on "move to point", "turn head ...", and unknown '20')
Line 52: Line 52:
::12 - stopped (*)
::12 - stopped (*)


:08 - unknown; (not used in Oni)
:08 - move to point; (not used in Oni); in-game test result: works fine
:09 - unknown; (not used in Oni)
:09 - turn head by X degrees; (not used in Oni); in-game test result: malfunctioning
:10 - move through flag (short, float) - character moves to this flag until he/she has reached the radius border of it
:10 - move through flag (short, float) - character moves to this flag until he/she has reached the radius border of it
:11 - move through point (float, float, float, float) - character moves to this point until he/she has reached the radius border of it; (not used in Oni)
:11 - move through point (float, float, float, float) - character moves to this point until he/she has reached the radius border of it; (not used in Oni)
Line 64: Line 64:
:18 - unkown (nothing follows)
:18 - unkown (nothing follows)
:19 - time + flag + rotation in degrees (short + short + float) - character moves to the flag and when reached he/she looks/aims around for the fixed time
:19 - time + flag + rotation in degrees (short + short + float) - character moves to the flag and when reached he/she looks/aims around for the fixed time
:20 - time follows (short)
:20 - appears to be a duplicate of 21
:21 - patrolscript id follows (short) - function with this id is called up (f.e. id <nowiki>= 1, then called up function =</nowiki> patrolscript0001)
:21 - patrolscript id follows (short) - function with this id is called up (f.e. id <nowiki>= 1, then called up function =</nowiki> patrolscript0001)
:22 - ignore player (byte) - 0 <nowiki>= off; 1 =</nowiki> on
:22 - ignore player (byte) - 0 <nowiki>= off; 1 =</nowiki> on
8,013

edits