Changeset View
Changeset View
Standalone View
Standalone View
UnitAI.js
Context not available. | |||||
this.SetGathererAnimationOverride(true); | this.SetGathererAnimationOverride(true); | ||||
this.SelectAnimation("move"); | this.SelectAnimation("move"); | ||||
{ | |||||
var speed = this.GetRunSpeed(); | |||||
this.SetMoveSpeed(speed); | |||||
} | |||||
this.StartTimer(1000, 1000); | this.StartTimer(1000, 1000); | ||||
}, | }, | ||||
Context not available. | |||||
"leave": function() { | "leave": function() { | ||||
// Show carried resources when walking. | // Show carried resources when walking. | ||||
this.SetGathererAnimationOverride(); | this.SetGathererAnimationOverride(); | ||||
this.SelectAnimation("move"); | |||||
this.SetMoveSpeed(this.GetWalkSpeed()); | |||||
this.StopTimer(); | this.StopTimer(); | ||||
}, | }, | ||||
Context not available. |
Wildfire Games · Phabricator