Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

For example, this is a card target to teammate:

<Card Actions>

Select 1 from hand

Add Selected to "Target's" hand

Clear Selection

</Card Actions>

<Card Target Actions>

Select 1 from hand

Add Selected to "User's hand"

Clear Selection

</Card Target Actions>

This is my aim. But I dont know how to express" target". And I aslo tried this:

"<Card Target Actions>

Select 1 from discard

Eval user.actorId(2).addCardToZone([SceneManager._scene._cardSelectionWindow.selectedCards()[0]._skillId],"hand")

Clear Selection

</Card Target Actions>"

But I dont know why 2nd actor did not add card to hand