Oblivion Game Data

Select game:

Search:

Select a record type:

AntusOdiilScript (0x000235d4)

  • Record Type: SCPT
  • Editor ID: AntusOdiilScript
  • Form ID: 0x000235d4
  • Source File: Oblivion.noSI.esm.mod
  • Patch Status: FormID has not been modified.
Parameter Value
SCTX
Scriptname AntusOdiilScript

;Handles simple 'pacing' movement during stage 10 of quest, while he waits for player

short position
short doonce


;Position is used to check distance to the two Xmarkers marking the edge of Antus' patrol
;Doonce used to initiate packages



begin gamemode

;Give Antus a starting package, so he'll go to one of the points and start the patrol
;Needed when conversation stops him outside of range of either of the points
;All scripted conversations will set doonce to 0 again so this package runs

if ( doonce == 0 )
	EvaluatePackage
	set doonce to 1
endif



;Have Antus Evaluate AI Package when within range of first marker
;pause this scenario when the guys are talking


if ( GetDistance player > 700 )
	if ( position == 0 )
		if ( GetDistance MS18AntusPatrolMarker1 < 100 )
			EvaluatePackage
			set position to 1
		endif
	elseif ( position == 1 )
		if ( GetDistance MS18AntusPatrolMarker2 < 100 )
			EvaluatePackage
			set position to 0
		endif
	endif
endif




End

Database last updated 11/02/2011
SCPT records last updated 10/31/2011