-
-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
using "compare_with_owner" or "compare_with_trigger" with KEY_BOARD_POSITION sets the board position to the relevant card #168
Comments
If the spawned card is directly on top of the owner, then it will hide it as well though. |
Hmm, maybe there could also be a spawn_offset key in spawn card that takes a vector2 which it adds for board position. Could be useful for other values that are conditional such as ones based off the viewport and such. |
Alternatively a change board position task might be nice. That could follow the spawn card task and not put extra functionality on the spawn card task |
Why don't you just use a 'move_card_to_board' on the spawned card? |
oh can you use compare_with_owner for the position in move_card_to_board? |
Well, no. I was replying to this comment
|
I guess what I was thinking was a task to move a card based on where it is. Like add 50 to the X position. |
If your name needs it, it is not difficult to extend the scripting engine and add this sort of task. If you feel it needs to be in the core CGF, feel free to send me a PR |
That makes sense. I stuff is busy right now but I would like to give back to the project |
Good If you want to drag a card to a spot and have a card spawn there for example
The text was updated successfully, but these errors were encountered: