| 369 | } |
| 370 | |
| 371 | void CScriptObjectEntity::SetContainer(IScriptObject *pContainer) |
| 372 | { |
| 373 | /*if(pContainer!=NULL) |
| 374 | { |
| 375 | EnablePropertiesMapping(); |
| 376 | RegisterProperty("cnt",pContainer); |
| 377 | }*/ |
| 378 | if(pContainer!=NULL) |
| 379 | m_pScriptThis->SetValue("cnt",pContainer); |
| 380 | else |
| 381 | m_pScriptThis->SetToNull("cnt"); |
| 382 | // _SmartScriptObject pCntTest(m_pScriptSystem,true); |
| 383 | // if(!m_pScriptThis->GetValue("cnt",pCntTest)) |
| 384 | |
| 385 | } |
| 386 | |
| 387 | /*! Get the position of the entity |
| 388 | @return Three component vector containing the entity position |
no test coverage detected