Jump to content

Saving data to each Ref in a RefCollectionAlias?


Ez0n3

Recommended Posts

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 by kitcat81
Link to comment
Share on other sites

  • Recently Browsing   0 members

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