IfSelfIsSniper doesn't work

Ein Stein
Automaton
Automaton
Posts: 131

IfSelfIsSniper doesn't work

Post#1 » 19 Jul 2017, 12:35

Image
The system skips the "IfSelfIsSniper" condition node. :(
I don't know what to do...
We cannot solve our problems with the same thinking we used when we created them.

User avatar
GFX47
Dev
Dev
Posts: 2896

Re: IfSelfIsSniper doesn't work

Post#2 » 19 Jul 2017, 12:46

It is checked after the "catch closest resource" node because it on its right.

Ein Stein
Automaton
Automaton
Posts: 131

Re: IfSelfIsSniper doesn't work

Post#3 » 19 Jul 2017, 13:10

GFX47 wrote:It is checked after the "catch closest resource" node because it on its right.

Wait what...? :shock:
The Sniper condition is supposed to be on the left of the resource node because the linking line of the former is on the left of that of the latter.
I dragged the node far away just for a clear view.
We cannot solve our problems with the same thinking we used when we created them.

ConsciouS-0nE
Autonomous Entity
Autonomous Entity
Posts: 740

Re: IfSelfIsSniper doesn't work

Post#4 » 19 Jul 2017, 13:14

Just put a connector before the 3rd node to make it the 2nd node.
Im not the best player, but atleast im something.I'm 8
Science is madness! 3:)

User avatar
GFX47
Dev
Dev
Posts: 2896

Re: IfSelfIsSniper doesn't work

Post#5 » 19 Jul 2017, 13:44

Ein Stein wrote:
GFX47 wrote:It is checked after the "catch closest resource" node because it on its right.

Wait what...? :shock:
The Sniper condition is supposed to be on the left of the resource node because the linking line of the former is on the left of that of the latter.
I dragged the node far away just for a clear view.


I know, I have to improve it and make the check order depend on the branch angle instead of the node position.
But expect some refactoring ^^'

Miojo
Script
Script
Posts: 37

Re: IfSelfIsSniper doesn't work

Post#6 » 21 Jul 2017, 03:51

Try keeping all nodes of the same "depth" of the tree aligned

Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 1 guest