Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
WatchCCCPoint
Syntax
C++
int WatchCCCPoint(IFunctionHandler * pH, char const * name, SmartScriptTable table);

Syntax: GameCodeCoverage.WatchCCCPoint("ActorStance_OtherActorStartHorse", {});

starts watching code checkpoint, if checkpoint is hit system will search passed table for function called OnCheckpointHit if found then function OnCheckpointHit(checkpoint_name, hit_count) is called otherwise system searches for checkpoint specific function Checkpoint specific function name is created as "On"+checkpoint_name ... for example OnActorStance_OtherActorStartHorse If such function exists it is called it is called with one param OnActorStance_OtherActorStartHorse(hit_count) 

 

Copyright (c) 2012. All rights reserved.