C4 Engine Terathon Software C4 Engine API Documentation

• Controller System

API Links
Developer Links

Method::Stop

Defined in:  C4Methods.h
Stops execution along the path containing a method.
Prototype

void Stop(void);

Description
The Stop function can be called from within a method's Method::Execute function to indicate that execution should be terminated along the path in the script graph containing the method. This effectively prevents any successors of the method from being executed unless they can be reached through another live path.
See Also

Method::Execute