Code: Select all
:i function $anteara_cam_test1$
:i call $Create$ arguments
$name$ = $BO_BarrierQP01$
:i $GoalEditorCursor$.$obj_GetPosition$
:i $BO_BarrierQP01$.call $Obj_SetPosition$ arguments
$position$ = %GLOBAL%$pos$
:i $BO_BarrierQP01$.call $Obj_SetOrientation$ arguments
$x$ = %i(0,00000000)$y$ = %GLOBAL%$?????????????$$z$ = %i(0,00000000)
:i endfunction
I'm pretty bad with GLOBAL, I'm not sure what to put in the $y$ axis area, When I rotate the arrow, I want the BO_BarrierQP01 orientation to be the same as the arrows orientation, Does anyone know how to do this? :S
Thanks.