Jump to content

GetPackageContinueIfPCNear and SetPackageContinueIfPCNear


taglag

Recommended Posts

I am not understanding the syntax or something, I was wondering if anyone could help me. Here is one of the varriations I have tried.

 

I have tried many, but I seem to be messing up badly with this one.

 

 

rEF oWNERpACK

rEF oWNERrEF

sHORT YesNoFlag

SHORT Noyes





;******************





set OwnerPack to OwnerRef.GetCurrentPackage

    

    



    if player.IsTrespassing && GetPackageContinueIfPCNear OwnerPack && NoYes == 0

        set YesNoFlag to 0

        SetPackageContinueIfPCNear OwnerPack := YesNoFlag

        set ReFlagedPack to OwnerRef.GetCurrentPackage

        set Noyes to 1

        PrintToConsole"OwnerRef Is Continuing Package Flag set Zero"

    elseif player.IsTrespassing == 0 && Noyes == 1

        set YesNoFlag to 1

        SetPackageContinueIfPCNear ReFlagedPack := YesNoFlag

        set Noyes to 0

        PrintToConsole"OwnerRef Is Continuing Package Flag set One"

    endif
 

 

Would really appreaciate some help

Link to comment
Share on other sites

  • Recently Browsing   0 members

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