Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » is_stealth_enabled
is_stealth_enabled [message #464825] Fri, 23 March 2012 07:19
robbyke is currently offline  robbyke
Messages: 348
Registered: September 2010
Location: Belgium
Karma:
Recruit
i wanted to use it because is_stealth checks if a char is invisible at that exact moment.
however is_stealth_enabled gives linking errors is there some other way so i can check if a veh/player can go invisble

solved :

const SmartGameObjDef *D = &obj->As_SmartGameObj()->Get_Definition();
if(D->Is_Stealthed())


Owner of kambot TT server

kambot.freeforums.org

[Updated on: Fri, 23 March 2012 07:47]

Report message to a moderator

 
Read Message
Previous Topic: Advanced Power Plant
Next Topic: W3D Import Problem, help :)
Goto Forum:
  


Current Time: Wed Dec 04 19:22:10 MST 2024

Total time taken to generate the page: 0.00919 seconds