disableAI "ALL" does nothing
New, NormalPublic

Tags
Subscribers
Assigned To
None
Authored By
GrumpyOldMan, Fri, Aug 11

Description

The command disableAI "ALL" does nothing.

Details

Severity
Major
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
Scripting
Steps To Reproduce

Place player on the map
Place unit named bob
Run this script:

test = [] spawn {
	sleep 3;

	bob domove getposatl player;
	systemchat "Move";
	sleep 3;

	systemchat "AI disabled";
	bob disableAI "ALL";
	sleep 3;

	bob enableAI "ALL";
	systemchat "AI enabled";
	sleep 3;

	systemchat "AI disabled";
	bob disableAI "ALL"
};

Observe how the unit just continues running on current devbranch 1.77.142584

Add Comment