How to make complicate enemy AI

Does this website have something like this? I guess it does, yeah i need to know how to make a enemy so if anyone is willing to show how to i will be glad but for now i will be looking at other games( that has hack and slash)

2 Likes
G

{“data”:{“behavior”:{“v”:“2”,“nodes”:[{“inputCount”:3,“outputCount”:0,“name”:“enemy ai”,“behaviorType”:“logic.NodeGroup”,“x”:-270,“y”:-64,“group”:"",“id”:“830b59c45f658743”,“isMenuItem”:true},{“inputCount”:0,“outputCount”:1,“name”:“Always”,“behaviorType”:“logic.triggers.Always”,“x”:-270,“y”:-64,“group”:“830b59c45f658743”,“id”:“5fafc8efb2ae5c46”},{“inputCount”:1,“outputCount”:1,“name”:“Extractor”,“behaviorType”:“logic.properties.Extractor”,“x”:90,“y”:-128,“group”:“830b59c45f658743”,“id”:“5fb022b78166ae4d”,“targetId”:0,“prop”:“x”},{“gateVal”:0,“mode”:“greater than”,“inputCount”:2,“outputCount”:2,“name”:“Filter”,“behaviorType”:“logic.logic.Filter”,“x”:270,“y”:-64,“group”:“830b59c45f658743”,“id”:“5fb072c60be0bd48”},{“inputCount”:3,“outputCount”:1,“name”:“Number”,“behaviorType”:“logic.logic.Value”,“x”:450,“y”:-32,“group”:“830b59c45f658743”,“id”:“5fb0a19fd0256141”,“startVal”:4,“tag”:"",“roundMode”:1},{“inputCount”:3,“outputCount”:1,“name”:“Number”,“behaviorType”:“logic.logic.Value”,“x”:450,“y”:-128,“group”:“830b59c45f658743”,“id”:“5fb0a25967602340”,“startVal”:-4,“tag”:"",“roundMode”:1},{“inputCount”:3,“outputCount”:3,“name”:“Velocity”,“behaviorType”:“logic.properties.Physics”,“x”:720,“y”:-96,“group”:“830b59c45f658743”,“id”:“5fb0f052a1efd948”},{“inputCount”:3,“outputCount”:3,“name”:“Impulse”,“behaviorType”:“logic.components.Impulse”,“x”:630,“y”:96,“group”:“830b59c45f658743”,“id”:“5fb332346627fc42”},{“inputCount”:3,“outputCount”:1,“name”:“Number”,“behaviorType”:“logic.logic.Value”,“x”:450,“y”:96,“group”:“830b59c45f658743”,“id”:“5fb339d79609ce40”,“startVal”:20,“tag”:"",“roundMode”:1},{“inputCount”:3,“outputCount”:1,“name”:“Switch”,“behaviorType”:“logic.logic.Switch”,“x”:180,“y”:96,“group”:“830b59c45f658743”,“id”:“5fb340573170714c”,"_startVal":1,“dataType”:2},{“inputCount”:0,“outputCount”:1,“name”:“Collision”,“behaviorType”:“logic.triggers.Collision”,“x”:-90,“y”:192,“group”:“830b59c45f658743”,“id”:“5fb34b63aa08b546”,“targetClassId”:14101991,“targetEntityId”:0,“collisionFilter”:15,“collideWithEntity”:false,“delay”:0},{“inputCount”:0,“outputCount”:1,“name”:“Always”,“behaviorType”:“logic.triggers.Always”,“x”:-270,“y”:96,“group”:“830b59c45f658743”,“id”:“5fb5506924c11848”},{“inputCount”:3,“outputCount”:2,“name”:“RayCast”,“behaviorType”:“logic.components.RayCast”,“x”:-90,“y”:96,“group”:“830b59c45f658743”,“id”:“5fb5fb187d25204b”,“targetClassId”:14101991,“direction”:0,“length”:35,“earlyOut”:false},{“inputCount”:3,“outputCount”:1,“name”:“Number”,“behaviorType”:“logic.logic.Value”,“x”:90,“y”:-320,“group”:“830b59c45f658743”,“id”:“5fbf05134291da43”,“startVal”:0,“roundMode”:1},{“inputCount”:3,“outputCount”:1,“name”:“Number”,“behaviorType”:“logic.logic.Value”,“x”:90,“y”:-224,“group”:“830b59c45f658743”,“id”:“5fbf05e2d1808f4d”,“startVal”:180,“tag”:"",“roundMode”:1},{“inputCount”:3,“outputCount”:3,“name”:“Flip”,“behaviorType”:“logic.properties.Flip”,“x”:450,“y”:-224,“group”:“830b59c45f658743”,“id”:“5fc3423ac28cc94e”},{“inputCount”:3,“outputCount”:2,“name”:“Animation”,“behaviorType”:“logic.properties.Animation”,“x”:720,“y”:-224,“group”:“830b59c45f658743”,“id”:“5fc344db26a8264c”,“animationName”:“walk”,“priority”:0},{“inputCount”:0,“outputCount”:1,“name”:“Bundle Input”,“behaviorType”:“logic.NodeGroupInput”,“x”:360,“y”:224,“group”:“830b59c45f658743”,“id”:“830b8ce665399940”,“portId”:“830b59c45f658743i0”,“tag”:“jump force”,“dataType”:2},{“inputCount”:0,“outputCount”:1,“name”:“Bundle Input”,“behaviorType”:“logic.NodeGroupInput”,“x”:90,“y”:320,“group”:“830b59c45f658743”,“id”:“830c04af872c0940”,“portId”:“830b59c45f658743i1”,“tag”:“speed”,“dataType”:2},{“inputCount”:0,“outputCount”:1,“name”:“Bundle Input”,“behaviorType”:“logic.NodeGroupInput”,“x”:-90,“y”:-32,“group”:“830ca1d326a1f645”,“id”:“830ca1d474101945”,“portId”:“830ca1d326a1f645i0”,“tag”:“input”,“dataType”:2},{“inputCount”:1,“outputCount”:0,“name”:“Bundle Output”,“behaviorType”:“logic.NodeGroupOutput”,“x”:450,“y”:-32,“group”:“830ca1d326a1f645”,“id”:“830ca1d50debd849”,“portId”:“830ca1d326a1f645o0”,“tag”:“output”,“dataType”:2},{“gateVal”:0,“mode”:“greater than”,“inputCount”:2,“outputCount”:2,“name”:“Filter”,“behaviorType”:“logic.logic.Filter”,“x”:90,“y”:-64,“group”:“830ca1d326a1f645”,“id”:“830ca1d5924d2340”},{“gateVal”:0,“mode”:“less than”,“inputCount”:2,“outputCount”:2,“name”:“Filter”,“behaviorType”:“logic.logic.Filter”,“x”:90,“y”:64,“group”:“830ca1d326a1f645”,“id”:“830ca1d5631de342”},{“expression”:“Math.abs(a)”,“default0”:0,“default1”:0,“default2”:0,“default3”:0,“default4”:0,“default5”:0,“params”:2,“version”:2,“tag”:"",“inputCount”:3,“outputCount”:1,“name”:“Expression”,“behaviorType”:“logic.logic.Expression”,“x”:270,“y”:64,“group”:“830ca1d326a1f645”,“id”:“830ca1dae9bab240”},{“expression”:“a*(-1)”,“default0”:0,“default1”:0,“default2”:0,“default3”:0,“default4”:0,“default5”:0,“params”:2,“version”:2,“tag”:"",“inputCount”:3,“outputCount”:1,“name”:“Expression”,“behaviorType”:“logic.logic.Expression”,“x”:270,“y”:-96,“group”:“830ca1d326a1f645”,“id”:“830ca1db67216b4b”},{“inputCount”:1,“outputCount”:1,“name”:“number flip”,“behaviorType”:“logic.NodeGroup”,“x”:270,“y”:352,“group”:“830b59c45f658743”,“id”:“830ca1d326a1f645”,“isMenuItem”:false},{“inputCount”:0,“outputCount”:1,“name”:“Bundle Input”,“behaviorType”:“logic.NodeGroupInput”,“x”:90,“y”:-32,“group”:“830b59c45f658743”,“id”:“830f376316708a4d”,“portId”:“830b59c45f658743i2”,“tag”:“X (IMPORTANT!)”,“dataType”:2}],“links”:[{“input_id”:“5fb022b78166ae4di0”,“output_id”:“5fafc8efb2ae5c46o0”},{“input_id”:“5fb072c60be0bd48i0”,“output_id”:“5fb022b78166ae4do0”},{“input_id”:“5fbf05e2d1808f4di1”,“output_id”:“5fb072c60be0bd48o0”},{“input_id”:“5fb0a25967602340i1”,“output_id”:“5fb072c60be0bd48o0”},{“input_id”:“5fbf05134291da43i1”,“output_id”:“5fb072c60be0bd48o1”},{“input_id”:“5fb0a19fd0256141i1”,“output_id”:“5fb072c60be0bd48o1”},{“input_id”:“5fc3423ac28cc94ei1”,“output_id”:“5fb0a19fd0256141o0”},{“input_id”:“5fb0f052a1efd948i0”,“output_id”:“5fb0a19fd0256141o0”},{“input_id”:“5fc3423ac28cc94ei0”,“output_id”:“5fb0a25967602340o0”},{“input_id”:“5fb0f052a1efd948i0”,“output_id”:“5fb0a25967602340o0”},{“input_id”:“5fc344db26a8264ci0”,“output_id”:“5fb0f052a1efd948o0”},{“input_id”:“5fb332346627fc42i1”,“output_id”:“5fb339d79609ce40o0”},{“input_id”:“5fb340573170714ci0”,“output_id”:“5fb340573170714co0”},{“input_id”:“5fb339d79609ce40i1”,“output_id”:“5fb340573170714co0”},{“input_id”:“5fb340573170714ci1”,“output_id”:“5fb34b63aa08b546o0”},{“input_id”:“5fb5fb187d25204bi2”,“output_id”:“5fb5506924c11848o0”},{“input_id”:“5fb340573170714ci2”,“output_id”:“5fb5fb187d25204bo0”},{“input_id”:“5fb5fb187d25204bi0”,“output_id”:“5fbf05134291da43o0”},{“input_id”:“5fb5fb187d25204bi0”,“output_id”:“5fbf05e2d1808f4do0”},{“input_id”:“5fb339d79609ce40i0”,“output_id”:“830b8ce665399940o0”},{“input_id”:“5fb0a19fd0256141i0”,“output_id”:“830c04af872c0940o0”},{“input_id”:“830ca1d326a1f645i0”,“output_id”:“830c04af872c0940o0”},{“input_id”:“830ca1d5924d2340i0”,“output_id”:“830ca1d474101945o0”},{“input_id”:“830ca1d5631de342i0”,“output_id”:“830ca1d474101945o0”},{“input_id”:“830ca1db67216b4bi0”,“output_id”:“830ca1d5924d2340o0”},{“input_id”:“830ca1db67216b4bi2”,“output_id”:“830ca1d5924d2340o0”},{“input_id”:“830ca1dae9bab240i0”,“output_id”:“830ca1d5631de342o0”},{“input_id”:“830ca1dae9bab240i2”,“output_id”:“830ca1d5631de342o0”},{“input_id”:“830ca1d50debd849i0”,“output_id”:“830ca1dae9bab240o0”},{“input_id”:“830ca1d50debd849i0”,“output_id”:“830ca1db67216b4bo0”},{“input_id”:“5fb0a25967602340i0”,“output_id”:“830ca1d326a1f645o0”},{“input_id”:“5fb072c60be0bd48i1”,“output_id”:“830f376316708a4do0”}]}}}

2 Likes

thanks @John_Shrekinson And sorry about the shipping? just dont like the fighting

1 Like

You’re welcome.

Not a good excuse for placing real people in false relationships

1 Like

not trying too
Couple sometimes argues, so i use that

1 Like

does not show anything if imported??? So what should i do?

1 Like

wha happun? did they ship actual real people?

1 Like

ask @grazer, idk why Flowlab code can’t be imported from outside the site

yeah :skull:

You want to make sure you only copy the code without any extra spaces or added text to it. It should work.

It sounds silly, but I think it’s the quotation marks in the copied code. Pasting the code outside the flowlab site (like into a forum post, for instance) causes all the quotation marks to be changed from the universal two vertical lines (") to the format-specific quotation marks that face one way or the other (“ ”), which for some reason don’t work when the code is imported back into Flowlab.
I believe this means if you copy the code and then paste it into a Google Doc or something, you can use Find&Replace to find all the formatted quotation marks (“ ”) and replace them with normal ones ("), and then copy that code and it should work just fine when imported into Flowlab.

2 Likes

well, that’s messed up

1 Like

Me and someone else :nauseated_face:
7zO7

What Alone_Knight said as the two users being a couple was more of a metaphor. Another phrase would be “they were acting like a married couple” which represents that they were arguing over something simple and useless. But weren’t related any way, shape, or form or by any romantic relation. I know some friends could argue and it would be relevant, but any has nothing to do with romantic relations. I even made the same joke at work, but since it’s a term used by older generations I can see where it doesn’t have the same meaning in today in age.

But I don’t think it meant as shipping the two users, but it was used metaphorically.

2 Likes

Yeah I know that but they phrased it wrong. I’ve heard that joke a lot so I am aware of it.

hm ok thank you for the imformation

1 Like