Ez0n3 Posted September 12, 2017 Author Share Posted September 12, 2017 Ahh ok, still getting the hang of arrays - I haven't needed them much in the past x) ty Link to comment Share on other sites More sharing options...
kitcat81 Posted September 16, 2017 Share Posted September 16, 2017 (edited) If you have not too many favorite foods, you can create a separate RefCollectionAlias for each food and add actors to the collections based on some conditions. I think all refs in RefCollection use the same instance of the script. You can get an array of all references using GetAt(index) , you can use GetCount() function on RefCollectionAlias . And if you use some actor event (i.e. OnUnload) , you`ll need to add "akSender" to it :Event OnUnlod(ObjectReference akSenderRef) Edited September 16, 2017 by kitcat81 Link to comment Share on other sites More sharing options...
Recommended Posts