|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cz.cuni.amis.pogamut.base.communication.messages.CommandMessage cz.cuni.amis.pogamut.udk.communication.messages.gbcommands.UseTrigger
public class UseTrigger
Causes bot to perform usage of a specified trigger. Response to this action is carried by the TRGUSED (TriggerUsed) info message Corresponding GameBots command is USETRG.
Field Summary | |
---|---|
protected boolean |
IgnoreEventInteractionDistance
If true, the interaction distance property of the used events associated with the trigger is ignored (ie. all are tried for activation). |
protected UnrealId |
Target
The trigger object to use. |
protected boolean |
UsableOnly
If true, the used events associated with the trigger will be checked for their respective activation conditions. |
Constructor Summary | |
---|---|
UseTrigger()
Creates new instance of command UseTrigger. |
|
UseTrigger(UnrealId Target,
boolean UsableOnly,
boolean IgnoreEventInteractionDistance)
Creates new instance of command UseTrigger. |
|
UseTrigger(UseTrigger original)
Cloning constructor. |
Method Summary | |
---|---|
UnrealId |
getTarget()
The trigger object to use. |
boolean |
isIgnoreEventInteractionDistance()
If true, the interaction distance property of the used events associated with the trigger is ignored (ie. all are tried for activation). |
boolean |
isUsableOnly()
If true, the used events associated with the trigger will be checked for their respective activation conditions. |
UseTrigger |
setIgnoreEventInteractionDistance(boolean IgnoreEventInteractionDistance)
If true, the interaction distance property of the used events associated with the trigger is ignored (ie. all are tried for activation). |
UseTrigger |
setTarget(UnrealId Target)
The trigger object to use. |
UseTrigger |
setUsableOnly(boolean UsableOnly)
If true, the used events associated with the trigger will be checked for their respective activation conditions. |
String |
toHtmlString()
|
String |
toMessage()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected UnrealId Target
protected boolean UsableOnly
protected boolean IgnoreEventInteractionDistance
Constructor Detail |
---|
public UseTrigger(UnrealId Target, boolean UsableOnly, boolean IgnoreEventInteractionDistance)
Target
- The trigger object to use.UsableOnly
- If true, the used events associated with the trigger will be checked for their respective activation conditions.IgnoreEventInteractionDistance
- If true, the interaction distance property of the used events associated with the trigger is ignored (ie. all are tried for activation). The trigger's CylinderComponent still needs to collide
with the player.public UseTrigger()
public UseTrigger(UseTrigger original)
Method Detail |
---|
public UnrealId getTarget()
public UseTrigger setTarget(UnrealId Target)
public boolean isUsableOnly()
public UseTrigger setUsableOnly(boolean UsableOnly)
public boolean isIgnoreEventInteractionDistance()
public UseTrigger setIgnoreEventInteractionDistance(boolean IgnoreEventInteractionDistance)
public String toString()
toString
in class CommandMessage
public String toHtmlString()
public String toMessage()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |