Unknown
From DarkAI
AI
REMOVE OBSTACLE
This command removes all obstacles
from all containers that correspond to the specified obstacle number
from the AI system. After this command you must call AI Complete
Obstacles to update the waypoint
can collision data which is a slow command and should not be done in
your main loop, the exception being view blocking obstacles.
This does not remove the DarkBasic object that represents the
obstacle, you should remove that yourself.
This can be used to
remove both normal and view blocking obstacles, when the obstacle
number refers only to view blocking obstacles, and no normal
obstacles are removed, this command does not need AI Complete
Obstacles to be called
and so can be called in your main loop to remove things like doors
when opened.
Syntax
AI Remove Obstacle Obstacle
Number
Parameters
Obstacle Number, The id
of the obstacle you want to remove
Return
n/a