Changes between Version 2 and Version 3 of Ticket #1310


Ignore:
Timestamp:
Apr 10, 2012, 11:17:06 PM (12 years ago)
Author:
leper
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1310 – Description

    v2 v3  
    33* To achieve this behaviour one should add a !RangeQuery to the "ANIMAL" state in UnitAI.js.
    44* The animal would become property of a player, and have their colour for it's selection ring
     5   A code sample for the ownership change
     6{{{
     7  var cmpNewOwnership = Engine.QueryInterface(ent, IID_Ownership);
     8  cmpNewOwnership.SetOwner(cmpOwnership.GetOwner());
     9}}}
     10* The animal can be recaptured by another player.
     11
     12Some points that should already be this way (just used for reference/documentation)
    513* The animal can only be tasked to move by the player who owns it
    6 * The animal can be recaptured by another player.
    714* Any player (whether they own the animal or not) can stil kill and harvest from it.
    815* Domestic animals created by the player (goats, sheep etc) should automatically be owned by that player