Thanks Firemind for your time to reply, i would inform you thi is just the last trial i have tried anything.
I try to describe to you the whole situation :
1. LinkedDC works properly because if i check the variables are correctly passed, and if i remove the boolean check from the multiple choice it works.
2. I tried both PLAY_TIME_ACTION and RESOLUTION_ACTION, the first one freeze with the card magnified in foreground, the second one freeze with the card on the battelfied. Both solution doesn't show any choice box!
3. Before to make this dump function, i thought to pass directly a boolean variable, so i used all my imagination to pass many different syntax, examples :
- Code: Select all
local oFly = LinkedDC():Int_Get( 0 )
if oFly == 1 then
local bFly = true
else
local bFly = false
end
......
oPlayer:AddMultipleChoiceAnswer( "CARD_QUERY_ANDROMEDA_FLYING", bFly )
......
- Code: Select all
local oFly = LinkedDC():Int_Get( 0 ) == 1
.......
oPlayer:AddMultipleChoiceAnswer( "CARD_QUERY_ANDROMEDA_FLYING", oFly )
- Code: Select all
local oFly = LinkedDC():Int_Get( 0 )
.......
oPlayer:AddMultipleChoiceAnswer( "CARD_QUERY_ANDROMEDA_FLYING", oFly == 1 )
- Code: Select all
local oFly = LinkedDC():Int_Get( 0 )
.......
oPlayer:AddMultipleChoiceAnswer( "CARD_QUERY_ANDROMEDA_FLYING", return oFly == 1 )
4. I also tried to filter AddMultipleChoiceAnswer with a condition before to add it but i receive a strange result. In this case i have all 7 answer without the right custom text, all answer are "player" and all enabled.
the code was something like this :
- Code: Select all
...........
oPlayer:BeginNewMultipleChoice()
local oFly = LinkedDC():Int_Get( 0 )
if oFly == 1 then
oPlayer:AddMultipleChoiceAnswer( "CARD_QUERY_ANDROMEDA_FLYING" )
end
if oFirstStrike == 1 then
oPlayer:AddMultipleChoiceAnswer( "CARD_QUERY_ANDROMEDA_FIRST_STRIKE" )
end
............