| 1047 | } |
| 1048 | |
| 1049 | void afxEffectron::activate() |
| 1050 | { |
| 1051 | // separating the final part of startup allows the calling script |
| 1052 | // to make certain types of calls on the returned effectron that |
| 1053 | // need to happen prior to constraint initialization. |
| 1054 | Sim::postEvent(this, new EffectronFinishStartupEvent, Sim::getCurrentTime()); |
| 1055 | |
| 1056 | // CALL SCRIPT afxEffectronData::onActivate(%eff) |
| 1057 | Con::executef(exeblock, "onActivate", getIdString()); |
| 1058 | } |
| 1059 | |
| 1060 | //~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~// |
| 1061 | // console functions |
no test coverage detected