| 164 | } |
| 165 | |
| 166 | void zNPCDuplotron::ParseLinks() |
| 167 | { |
| 168 | zNPCCommon::ParseLinks(); |
| 169 | |
| 170 | if (this->spawner != NULL) |
| 171 | { |
| 172 | for (S32 i = 0; i < this->linkCount; i++) |
| 173 | { |
| 174 | xLinkAsset* link = &this->link[i]; |
| 175 | |
| 176 | if (link->dstEvent == eEventConnectToChild) |
| 177 | { |
| 178 | xSceneID2Name(globals.sceneCur, this->id); |
| 179 | xSceneID2Name(globals.sceneCur, link->dstAssetID); |
| 180 | |
| 181 | xBase* mychild = zSceneFindObject(link->dstAssetID); |
| 182 | if (mychild != NULL) |
| 183 | { |
| 184 | this->ParseChild(mychild); |
| 185 | } |
| 186 | } |
| 187 | } |
| 188 | } |
| 189 | |
| 190 | return; |
| 191 | } |
| 192 | |
| 193 | void zNPCDuplotron::BUpdate(xVec3* pos) |
| 194 | { |
nothing calls this directly
no test coverage detected