added: full logic and ability for downing and picking up allies
This commit is contained in:
@@ -24,7 +24,7 @@ namespace Reset.Core {
|
||||
//EndAction can be called from anywhere.
|
||||
protected override void OnExecute(){
|
||||
try {
|
||||
agent.SetTrigger("trigger");
|
||||
agent.SetTrigger(trigger.value);
|
||||
} catch (Exception e) {
|
||||
Debug.LogError($"Did not set Network Animator trigger <i>{trigger.name}</i> on <b>{(agent == null ? null : agent.name)}</b>: {e.Message}");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user