public class UseTrigger extends CommandMessage
Modifier and Type | Field and Description |
---|---|
protected boolean |
IgnoreEventInteractionDistance
If true, the interaction distance property of the used events associated with the trigger is ignored (ie.
|
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 and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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.
|
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() |
protected UnrealId Target
protected boolean UsableOnly
protected boolean IgnoreEventInteractionDistance
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)
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()
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.