Proud community admin/member of The Tour of Teamrespawn
check out the first example mission, it's all there.
It's pretty easy really. Just create a cam and set the object texture to the rendertarget (cam):
This is for objects only, and only for objects, which have hidden selections defined. (setObjectTexture compatible)PHP Code:
_cam = "camera" camCreate (getPosATL player);
_cam camPrepareFov 0.700;
_cam camPrepareTarget (vehicle player);
_cam camCommitPrepared 0;
_cam cameraEffect ["INTERNAL", "BACK", "rendertarget0"];
_screen setObjectTexture [0, "#(argb,256,256,1)r2t(rendertarget0,1.0)"];
For cockpit displays you have to use BIS_fnc_PIP. (Second example mission)
If you need further assistance, please be more specific, what you are not getting
Exactly what I meant.
Code:_screen setObjectTexture [0, "#(argb,256,256,1)r2t(rendertarget0,1.0)"];