Talk:Modding/Cutscene Commands/@comment-34830135-20180430112718

Does anyone know why my character won't change destination at the desired time???? Here's the full code:

EditObject:Student_18 (Momo Otsuka)

if:Time:8.10 jmp:CanStart end

lbl:CanStart ChangeDestinationLocation:Student_18 (Momo Otsuka):2:-4.8:12:-32.6 ChangeDestinationRotation:Student_18 (Momo Otsuka):2:0:90:0 CharacterGetDestinations:Student_18 (Momo Otsuka)

lbl:Nier if:EditObjectNearPoint:-4.8:12:-32.6:1 jmp:Nier jmp:Event

lbl:Event CharacterSetAnimLoop:Student_18 (Momo Otsuka):f02_talking_01:6 CharacterSetIdleAnim:Student_18 (Momo Otsuka):f02_talking_01

lbl:Check if:Time:7.5 jmp:Check jmp:ChangeSpot

lbl:ChangeSpot ChangeCurrentDestinationLocation:Student_18 (Momo Otsuka):-0.6:0:24.9 ChangeCurrentDestinationRotation:Student_18 (Momo Otsuka):0:180:0 CharacterGetDestinations:Student_18 (Momo Otsuka)

lbl:Nier2 if:EditObjectNearPoint:-0.6:0:24.9:1 jmp:Nier2 jmp:Event2

lbl:Event2 ActivateChildAll:Student_18 (Momo Otsuka):Book:true

lbl:Check2 if:Time:8.10 jmp:Check2 jmp:EndEvent

lbl:EndEvent CharacterSetIdleAnim:Student_18 (Momo Otsuka):f02_idleGraceful_00 ActivateChildAll:Student_18 (Momo Otsuka):Book:false end