Jump to content

Script help.


Lolz1234567

Recommended Posts

SCN VertibirdCraigLandingScript


short Active

Float Timer

Ref LinkedRef


Begin OnActivate


Set Activate to 1


END


Begin Gamemode


If Active ==1

Playgroup forward 0

Set active to 2

Endif


If Active ==2

If IsAnimPlaying ==0

Set LinkedRef to GetLinkedRef

LinkedRef.Enable

Set Active to 3

Endif

Endif


If Active ==3

If Timer <5

Set Timer to Timer + GetSecondsPassed

ElseIf Timer >=5

Playgroup Backward 0

Set Active to 4

Endif

Endif


If Active ==4

If IsAnimPlaying ==0

Disable

MarkForDelete

LinkedRef.MarkForDelete

Set Active to 5

Endif

Endif


END


This is the script I'm using to land a vertibird, Drop off some people, Then fly off again. The script wont save and I'm not sure why. Does anyone know what I did wrong?

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...