Skip to content

Question about the timing of binding the BTCallMethod parameter #305

Answered by limbonaut
youer0219 asked this question in Q&A
Discussion options

You must be logged in to vote

Parameters are evaluated on _tick(). So something else might be going wrong here. Try debugging with a custom task:

extends BTAction
func _tick(delta):
    blackboard.print_state()
    return SUCCESS

Insert it before CallMethod under a Sequence composite.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@youer0219
Comment options

Answer selected by youer0219
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants