Page 1 of 1

Issue applying multiple entries with +targetId

PostPosted: Thu Sep 20, 2018 8:45 pm
by fubarbarian
I'm not sure if this is a bug or documentation problem. I'm trying to add multiple events to another using the data tag example here: http://curious-expedition.wikia.com/wik ... ng:General Halfway down the page.

For reference:
Code: Select all
   {
       targetId: +evt-village-actions-night::actions
       data: [
          "evt-village-actions-night-train",
          "evt-village-actions-night-test"]
   }


I've tried several ways and the new entries fail. This or without quotes. When the entry is selected, the log reports an undefined key at 0 error:
Code: Select all
  {
    targetId: +evt-village-recruit-select-humanoid::select
    data: [
      "evt-village-recruit-human-test1",
      "evt-village-recruit-human-test2"
    ]
  }


I even tried a merge, but then the entries are never selected.
The only consistent way I've been able to add lines is one at a time:
Code: Select all
  {
    targetId: +evt-village-recruit-select-humanoid::select
    ref: evt-village-recruit-human-test1
  }
  {
    targetId: +evt-village-recruit-select-humanoid::select
    ref: evt-village-recruit-human-test2
  }


But I'd prefer to do them all at once if possible, since I have a list. :)

Re: Issue applying multiple entries with +targetId

PostPosted: Fri Sep 21, 2018 9:03 am
by riadd
That's a good point. I think this functionality might be simply missing from our modding language. I'll create a ticket for it. Let me know if you need anything else!

Re: Issue applying multiple entries with +targetId

PostPosted: Fri Sep 21, 2018 5:40 pm
by fubarbarian
Awesome, thanks!