r2t or render to texture only works if it is the only thing loaded as a camera (any number of them can be created) however, the establishingshot and arsenal functions freeze/stop the cameras from rendering and then do not re-enable them.
Description
Description
Details
Details
- Legacy ID
- 723501950
- Severity
- None
- Resolution
- Open
- Reproducibility
- Always
- Category
- Other
Steps To Reproduce
place gamelogic(with init):
cam1="camera" camCreate getposatl player;cam1 attachto [player,[0,0,.15],"head"];cam1 camsetfov .5;cam1 camcommit 1;cam1 cameraeffect ["internal","back","tv1"];
place an object with flat surface (billboard will do):
this setObjectTextureGlobal [0,"#(argb,256,256,1)r2t(tv1,1.0)"];
add trigger(condition:true and no delay):
_nil=[getpos player,"Welcome Home",150,100] spawn BIS_fnc_establishingShot;
Additional Information
if one removes the establishingshot, the texture will render what the camera is showing, otherwise it will show blank (black).