Jump to content
Sign in to follow this  
ruff

CPP

Recommended Posts

wondering what scope means in the ccp file

been trying to find definition but none

also im trying to get a unit have blackop spotability, ive given the unit accuracy 3.5 and camouflage 0.7 but it is still being spotted, where a normal blackop would not

plz help

Share this post


Link to post
Share on other sites

For scope there are 3 possible values (0,1 and 2 or private, protected and public)

private (0) means that an unit/vehicle/object is not visible in the mission editor (or for weapons, that a weapon is not a weapon or not a magazine or not weapon and magazine).

protected (1) means that the class can only be derived but not actually used with createVehicle/addWeapon a.s.o. Using those classes ingame leads to a CTD.

public (2) is the opposite to private: you can place an unit/vehicle/object through the mission editor or a weapon is marked as weapon or magazine or both.

Share this post


Link to post
Share on other sites

thanks

Share this post


Link to post
Share on other sites

My understanding was that protected could be used in-game, but just did not appear in the menu. I don't recall ever trying to create a private scoped object, though. Are you certain that protected objects create a CTD?

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×