OFPEC Forum
Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: pertti49 on 30 Jul 2003, 14:39:46
-
How do i remove soldiers eyeglasses, i have unit that using it with every soldier?
-
Try this:
person setFace soldier
Operand types:
person: Object
soldier: String
Type of returned value:
Nothing
Description:
Set person's face.
Example:
setFace "Face10"
There are many faces, Face10, 14, etc.
If they still end up with eyeglasses the do this:
person setIdentity identity
Operand types:
person: Object
identity: String
Type of returned value:
Nothing
Description:
Set identity of person. Identities are defined in descripion.ext of the mission or campaign.
Example:
setIdentity "JohnDoe"
This gives you even more control but you have to set the right parameters in the description.ext file first. Look at one of the tutorials in Ed Depot for more info.
-
tx but is there way to change cpp some line that the model whount wear eyeglasses so i dont need to do it maually like 150 men ;)?
-
I don't know if this has any effect or so, but... ???
Try adding
hiddenSelections[] = {brejle};
in the config... brejle seems to be the selection (at least in the Eastern soldier model) in which the eyeglasses appear...
But like I said, dunno... I might so wrong (again...) :-[
-
Do you have something against people that wear glasses? Like me!! :) ;D 8)
-
no mate lol but maybe looking more realistic as 150 men without the glasses than with them ;D