I want it to see if a name of a crew is aboard if it is then show this mesh. Does thids look right?
So if ROBOT is a crew name then show that mesh, right?
if (Crew.GetCrewMiscIdByName(Crew.GetLastEnteredCrewName())=="ROBOT")SetMeshVisibilityMode( 6, MESHVIS_ALWAYS );
else SetMeshVisibilityMode( 6, MESHVIS_NEVER );
This fixed it:
if (strlen(Crew.GetCrewMiscIdByName("ROBOT")))
SetMeshVisibilityMode( 6, MESHVIS_ALWAYS );
else
SetMeshVisibilityMode( 6, MESHVIS_NEVER );
Post Edited ( 04-27-09 11:43 )