Jump to content

Recommended Posts

Posted

The following (just cribbed from a 'condition' application) doesn't seem to work. Is this not something one can call in a script ? Or is there another way around ?

 

if (akActionRef == PlayerRef) && (myactor.GetIsCurrentPackage(thispackage) == 1)

blahblah

endif

Posted (edited)

You want GetCurrentPackage() so something like:

 

If (NPCRef as Actor).GetCurrentPackage() == pThePackage

 

 

edit: update as testing pPlayerREF is a useless example

Edited by SKK50
  • Recently Browsing   0 members

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