Home   Help Search Login Register  

Author Topic: What is an agent?  (Read 1304 times)

0 Members and 1 Guest are viewing this topic.

Offline tcp

  • Members
  • *
    • Violator Gaming
What is an agent?
« on: 12 Oct 2009, 18:44:10 »

Offline DeanosBeano

  • Addons Depot Staff
  • *****
  • SirDeanosbeano bstowed on me by sui ;)
    • Fraghaus
Re: What is an agent?
« Reply #1 on: 12 Oct 2009, 19:54:24 »

 My understanding was that it is used for animals (or units ?) so that they can then be given Tasks, apparently it is better to use create agent than createvehicle a dog or cow , untested but thats the loose theory i  was  applying.
 
I love ofp

Offline laggy

  • Members
  • *
  • "Behold a pale horse"
Re: What is an agent?
« Reply #2 on: 12 Oct 2009, 20:03:18 »
Not 100% sure but I think an "agent" is a simpler kind of AI unit.

Meaning they can move and even react to certain stuff, but not much more.

The german sheperd (alsatian) is an agent for instance, and it barks and runs when you shoot at it.

It can also be spawned as a unit, by createUnit command (thanks DeanosBeano), but it still does not work perfectly as a group member. It often gets stuck when moving etc.

Seems like the "agent" models are not perfectly created as a normal AI unit.

Laggy
« Last Edit: 12 Oct 2009, 20:06:18 by laggy »
And I looked and beheld a pale horse and his name that sat on him was Death and Hell followed with him.

Offline Doolittle

  • Contributing Member
  • **
  • _this select 0
Re: What is an agent?
« Reply #3 on: 13 Oct 2009, 18:32:57 »
Exactly.. use createAgent for animals. They can't be grouped or given waypoints. If you do give them waypoints, you'll get arma.rpt errors.

Offline Rommel92

  • Members
  • *
Re: What is an agent?
« Reply #4 on: 17 Oct 2009, 10:31:29 »
Might be something to look into for towns with civilians...  :)
My notes so far.

They can be accessed for gear.
They can target and kill you.
They can't be given orders/waypoints/domove/commands.
They don't have/need groups.

Possibly good for defenders?
« Last Edit: 17 Oct 2009, 10:44:37 by Rommel92 »