Ladez Posted December 20, 2014 Share Posted December 20, 2014 It should. Are you using a valid reference? References must have a reference editor ID and be persistent before they can be used in scripts. Link to comment Share on other sites More sharing options...
mastar891 Posted December 20, 2014 Share Posted December 20, 2014 Everything is correct. It's just not working properly.This is the line: If (LieutenantMonroeRef.GetDead == 1 && BCPrivateHastingsRef.GetDead == 1 && BCTrooperAAMRef.GetDead == 1 && BCTrooperCMRef.GetDead == 1) Link to comment Share on other sites More sharing options...
Ladez Posted December 20, 2014 Share Posted December 20, 2014 The syntax is fine, so the error must be with your references. Link to comment Share on other sites More sharing options...
mastar891 Posted December 31, 2014 Share Posted December 31, 2014 So I got it to work, but my problem is that it won't do what I'm telling it to. Like if I were to do: if (ThisRef.GetDead == 1 && ThatRef.GetDead == 1) SetObjectiveCompleted Whatever 10 1 SetObjectiveDisplayed Whatever 20 1 MakeThisPropVisible.Enable 1 EndIf The new objective won't display and the objects aren't enabling. Link to comment Share on other sites More sharing options...
mastar891 Posted January 1, 2015 Share Posted January 1, 2015 I think I figured out why it's not working. I believe it's because once the stage starts it automatically checks if the references are dead. And because they're not, it doesn't do anything. Although I can't figure out any workaround. Link to comment Share on other sites More sharing options...
Recommended Posts