Hie everybody!
i'd just read the AI tips Tutorial and i find this sentence and i would like to have an explaination.
Have cover nodes target one or more other nodes if you want the AI to consistently pop out at a known location.
does it means that you can connect severals pathnode to one.
If one can be the targeted for several pathnode, but does one pathnode can have several pathnode for target ?
It will randomly select one of the targeted pathnodes to sep to when steping out of cover to attack. If you target no other pathnodes, the AI will step as directly towards the enemy as it can.
I think a pathnode can only target more than one node if all the other nodes have the same $targetname . I think so any way , the only exception I think is the vis leafgroups they can target more than one other vis leafgroup with different targetnames .
hie omniscient.
pathnode are for single player but can be used in multiplayer if you use bots in your map. it give instruction to bots for the movement the acts.
For the community. I have a trnslation problem
What meuns spam in this sentence.
You can give the same targetname to a lot of different things but in the script things might need to be changed a bit . When several things have the same targetname then they form a targetname array which starts it's indexing from 1 so after to refer to each one you have to do like this
if you make 3 ai's all with the $targetname $myguy then you get
$myguy[1]
$myguy[2]
$myguy[3]
iprintln $myguy.size will print 3 on the screen
but for pathnodes if you have pathnode 1 target pathnode 2 and pathnode 3 has the same targetname pathnode 1 will target both .