antstubell Posted June 3, 2019 Posted June 3, 2019 Reveal hidden contents Actor Property PlayerREF AutoMessage Property ThisMsg AutoSound Property MySound AutoObjectReference Property MyRef Autoauto state waitingEvent OnTriggerEnter(ObjectReference akActionRef)if akActionRef == PlayerRefThisMsg.show()MySound.Play(MyRef)GoToState("Done")else; Do nothingendifEndEventAs said in title. I am modifying an existing script that I made - is that the problem?
antstubell Posted June 3, 2019 Author Posted June 3, 2019 And this one I just made new.EDIT: Fixed this one, properties error. Reveal hidden contents Misc Property FWood AutoMisc Property Oiljug AutoMisc Property RagAcc AutoMessage Property FireLit AutoMessage Property MoreWood AutoMessage Property Ragoil AutoMessage Property MoreItem AutoMessage Property NoItem AutoMessage Property Greet AutoEvent OnActivate(ObjectReference akActionRef)Greet.show()Int ItemA = Game.GetPlayer().GetItemCount(FWood)Int ItemB = Game.GetPlayer().GetItemCount(Oiljug)Int ItemC = Game.GetPlayer().GetItemCount(RagAcc)If ItemA >= 3 && ItemB >= 1 || ItemA >= 3 && ItemC >= 1FireLit.show()ElseIf ItemA < 3MoreWood.show()ElseIf ItemA >= 3 && ItemB < 1 || ItemA >= 3 && ItemC < 1Ragoil.show()ElseIf ItemA < 3 && ItemB < 1 || ItemA < 3 && ItemC < 1MoreItem.show()ElseIf ItemA == 0 && ItemB == 0 && ItemC == 0NoItem.show()EndIfEndEvent
Recommended Posts