Forum rules - please read before posting.

RuntimeActionList RunActionListAsset Parameters

To anyone that can help.

I'm trying to run a AC.AdvGame.RunActionListAsset() with parameters, but the parameter I want to set on the ActionList is an inventoryitem, can I run that from script ? I went to the Scripting guide, but only mentions about Integer parameter.

Thanks for helping.

Comments

  • I will extend this function to allow the setting of any integer-based parameter, including inventory item (wherein the value is the ID number of the item).

    If you wish to set the value of any parameter in an ActionListAsset, you can also manipulate the parameters beforehand, e.g.:

    myActionList.parameters[2].SetValue (3);
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.