Update the description of EnemyWatcher and AnnounceOnSeen
This commit is contained in:
@@ -16,7 +16,7 @@ using OpenRA.Traits;
|
|||||||
namespace OpenRA.Mods.Common.Traits
|
namespace OpenRA.Mods.Common.Traits
|
||||||
{
|
{
|
||||||
[Desc("Tracks neutral and enemy actors' visibility and notifies the player.",
|
[Desc("Tracks neutral and enemy actors' visibility and notifies the player.",
|
||||||
"Attach this to the player actor.")]
|
"Attach this to the player actor. The actors to track need the 'AnnounceOnSeen' trait.")]
|
||||||
class EnemyWatcherInfo : ITraitInfo
|
class EnemyWatcherInfo : ITraitInfo
|
||||||
{
|
{
|
||||||
[Desc("Interval in ticks between scanning for enemies.")]
|
[Desc("Interval in ticks between scanning for enemies.")]
|
||||||
|
|||||||
@@ -15,7 +15,8 @@ using OpenRA.Traits;
|
|||||||
|
|
||||||
namespace OpenRA.Mods.Common.Traits.Sound
|
namespace OpenRA.Mods.Common.Traits.Sound
|
||||||
{
|
{
|
||||||
[Desc("Players will be notified when this actor becomes visible to them.")]
|
[Desc("Players will be notified when this actor becomes visible to them.",
|
||||||
|
"Requires the 'EnemyWatcher' trait on the player actor.")]
|
||||||
public class AnnounceOnSeenInfo : ITraitInfo
|
public class AnnounceOnSeenInfo : ITraitInfo
|
||||||
{
|
{
|
||||||
[Desc("Should there be a radar ping on enemies' radar at the actor's location when they see him")]
|
[Desc("Should there be a radar ping on enemies' radar at the actor's location when they see him")]
|
||||||
|
|||||||
Reference in New Issue
Block a user