How can I make a 'child node' to "Active" when "All of parent node" succeed?

Announcements, support questions, and discussion for Quest Machine.
Post Reply
nuununuun
Posts: 13
Joined: Thu Dec 17, 2020 11:54 pm

How can I make a 'child node' to "Active" when "All of parent node" succeed?

Post by nuununuun »

캡처.PNG
캡처.PNG (11.23 KiB) Viewed 529 times
Hi.
So here is the thing. there are two parents nodes A and B. and there are two child nodes C and D.
C is connected to both of its parents, A and B.
D only connected to one parent, B.

What I want is set C to "Active" when both of its parents are set to True(or Success).
But right now, C set to "Active" even only one of its parent becomes true. (Like D)

How I can make C to be activated when both of its parents are succeed(or become true)?

Thanks.
User avatar
Tony Li
Posts: 21925
Joined: Thu Jul 18, 2013 1:27 pm

Re: How can I make a 'child node' to "Active" when "All of parent node" succeed?

Post by Tony Li »

Hi,

Add a node (AB) with a condition that requires all parents are true:

qmParentConditions.png
qmParentConditions.png (24.3 KiB) Viewed 527 times
nuununuun
Posts: 13
Joined: Thu Dec 17, 2020 11:54 pm

Re: How can I make a 'child node' to "Active" when "All of parent node" succeed?

Post by nuununuun »

Thanks!
User avatar
Tony Li
Posts: 21925
Joined: Thu Jul 18, 2013 1:27 pm

Re: How can I make a 'child node' to "Active" when "All of parent node" succeed?

Post by Tony Li »

Glad to help!
Post Reply