PlaneShift

Development => Development Deliberation => Topic started by: isreal on January 15, 2006, 01:00:04 pm

Title: How to get currect selected mesh?
Post by: isreal on January 15, 2006, 01:00:04 pm
I mean during run-time, how can I use code to get the selected object?

Thanks a lot!
Title:
Post by: acraig on January 15, 2006, 11:39:28 pm
You can use:

GEMClientObject * psClientCharManager::GetTarget()



Example:
   psengine->GetCharManager()->GetTarget()
Title:
Post by: isreal on January 16, 2006, 12:58:48 am
I see. Thanks  a lot!  :)