28.12.2014 Views

The AI Systems of Left 4 Dead - Valve

The AI Systems of Left 4 Dead - Valve

The AI Systems of Left 4 Dead - Valve

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Goal: Deliver Robust Behavior Performances<br />

‣ Encapsulation <strong>of</strong> Action processing<br />

• OnStart<br />

• Executed when the Action is transtioned into<br />

• Can return an immediate transition<br />

• Update<br />

• Does the “work” <strong>of</strong> the Action<br />

• Update can return a transition to a new Action<br />

• OnEnd<br />

• Is executed when the Action is transitioned out <strong>of</strong><br />

• OnSuspend<br />

• Executed when Action has been put on hold for another Action<br />

• Can return a transition<br />

• OnResume<br />

• Executed when Action resumes after being suspended<br />

• Can return a transition (perhaps Action is no longer valid)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!