FCBP_Automation
One scripted AI command fed to the behavior tree (task node CTNAutomation). The commands
of an entity run in a loop: after the last one the sequence wraps back to the first.
Setters
| Setter | Effect |
|---|---|
command(ECAutomationCommandName) |
The command type: LOCATION (move to a point of the current room) or WAIT (pause). UNSET is the unset default and does nothing. |
value(FString) |
Argument of the command. See below — its meaning depends on the command. |
The value argument, per command
WAIT — value is a number of seconds (parsed as a float). Example: "3.0".
LOCATION — value is a string of point codes, and each character is turned into
its own separate LOCATION step (so "AC" = go to point A, then go to point C). Each code
targets a point of the closest room, not a named room:
| Code | Point in the room |
|---|---|
A |
corner a |
B |
opposite corner on X |
C |
corner b (far corner) |
D |
opposite corner on Y |
E |
middle of the a-side (X axis) |
F |
middle of a vertical side |
G |
middle of the b-side (X axis) |
H |
middle of the other vertical side |
M |
room center |