jonipetteri 11 Posted March 22, 2019 I'm trying to change AI units movement speed to "FULL". Tried: unitname setSpeedMode "FULL"; to trigger but doesn't work. Share this post Link to post Share on other sites
Grumpy Old Man 3545 Posted March 22, 2019 What do you expect this command should do? setSpeedMode only affects units breaking formation and running will be preferred. Cheers Share this post Link to post Share on other sites
jonipetteri 11 Posted March 22, 2019 5 minutes ago, Grumpy Old Man said: What do you expect this command should do? When player enters inside of the trigger, unit should run. Share this post Link to post Share on other sites
Grumpy Old Man 3545 Posted March 22, 2019 4 minutes ago, jonipetteri said: When player enters inside of the trigger, unit should run. That needs a move waypoint or doMove command. Have a read. Cheers Share this post Link to post Share on other sites
jonipetteri 11 Posted March 22, 2019 1 minute ago, Grumpy Old Man said: That needs a move waypoint or doMove command. I haven't put any waypoints, because of random patrol. Share this post Link to post Share on other sites
sarogahtyp 1108 Posted March 22, 2019 Also take care of AIBehavior Share this post Link to post Share on other sites
Grumpy Old Man 3545 Posted March 22, 2019 4 minutes ago, jonipetteri said: I haven't put any waypoints, because of random patrol. Well you're still being pretty vague about further details, no idea if the group is editor placed, spawned etc. Cheers Share this post Link to post Share on other sites
jonipetteri 11 Posted March 22, 2019 5 minutes ago, Grumpy Old Man said: Well you're still being pretty vague about further details, no idea if the group is editor placed, spawned etc. I've placed AI unit in the editor. AI unit is random patrolling. For this I used Eden Enhanced option - Random Patrol. I've attached trigger to this unit. Trigger is activated when player inside. When trigger activated, this unit starts to walk to players position. At this point I want this unit to run. Cheers Share this post Link to post Share on other sites
jonipetteri 11 Posted March 22, 2019 Solved. unitgroupname setSpeedMode "FULL"; Share this post Link to post Share on other sites
R0bster 2 Posted August 30, 2021 On 3/22/2019 at 12:12 PM, jonipetteri said: Solved. unitgroupname setSpeedMode "FULL"; yes, this works perfectly, thx! 🙂 Share this post Link to post Share on other sites