Changes between Version 2 and Version 3 of Ticket #1310
- Timestamp:
- Apr 10, 2012, 11:17:06 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #1310 – Description
v2 v3 3 3 * To achieve this behaviour one should add a !RangeQuery to the "ANIMAL" state in UnitAI.js. 4 4 * 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 12 Some points that should already be this way (just used for reference/documentation) 5 13 * The animal can only be tasked to move by the player who owns it 6 * The animal can be recaptured by another player.7 14 * Any player (whether they own the animal or not) can stil kill and harvest from it. 8 15 * Domestic animals created by the player (goats, sheep etc) should automatically be owned by that player