csbx Posted March 29, 2018 Posted March 29, 2018 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) blahblahendif
SKKmods Posted March 29, 2018 Posted March 29, 2018 (edited) You want GetCurrentPackage() so something like: If (NPCRef as Actor).GetCurrentPackage() == pThePackage edit: update as testing pPlayerREF is a useless example Edited March 29, 2018 by SKK50
csbx Posted March 29, 2018 Author Posted March 29, 2018 Thanks for checking into the forums and sharing your knowledge, man. That worked.
Recommended Posts