Page MenuHomeFeedback Tracker

[Request] getTitleEffectName SQF command to be able to determine if there is a black/white title effect active
Feedback, NormalPublic

Description

titleEffectName [string] = getTitleEffectName layerID [number];

The engine destroys the layer after the effect time with "WHITE/BLACK IN" - needs be to accounted for.
Reference to non existent layer should return empty string.

from the cutXXX and titleXXX command family
ie https://community.bistudio.com/wiki/cutRsc
https://community.bistudio.com/wiki/titleText

https://community.bistudio.com/wiki/Title_Effect_Type

This is to be able to hide GUI elements during cutscenes and other common uses of black/white screen.

Thanks for the consideration!

Details

Severity
None
Resolution
Open
Reproducibility
N/A
Operating System
Windows 10 x64
Category
Scripting
Steps To Reproduce

Examples:

1000 cutRsc ["binocular", "BLACK OUT"];
//getTitleEffectName 1000 to return "BLACK OUT"

2000 cutRsc ["binocular", "WHITE OUT"];
//getTitleEffectName to return "WHITE OUT"

1000 cutFadeOut 0;
//getTitleEffectName to return ""

2000 cutRsc ["binocular", "WHITE IN"];
//getTitleEffectName to return "WHITE IN" until effect is destroyed - after that empty string
Additional Information

Event Timeline

kju-PvPscene renamed this task from [Request] SQF command to determine if there is a black/white title screen to [Request] isTitleEffect SQF command to determine if there is a black/white title screen.
kju-PvPscene edited Additional Information. (Show Details)
h- added a subscriber: h-.Apr 21 2022, 12:57 PM
kju-PvPscene renamed this task from [Request] isTitleEffect SQF command to determine if there is a black/white title screen to [Request] isTitleEffectActive SQF command to determine if there is a black/white title screen.Apr 21 2022, 1:06 PM
BIS_fnc_KK changed the task status from New to Need More Info.Apr 21 2022, 1:16 PM
BIS_fnc_KK added a subscriber: BIS_fnc_KK.

Could you please make a more coherent request?

kju-PvPscene renamed this task from [Request] isTitleEffectActive SQF command to determine if there is a black/white title screen to [Request] isTitleEffectActive SQF command to determine if there is a black/white title effect active.Apr 22 2022, 8:37 AM
kju-PvPscene updated the task description. (Show Details)
kju-PvPscene edited Additional Information. (Show Details)
BIS_fnc_KK changed the task status from Need More Info to Acknowledged.
kju-PvPscene renamed this task from [Request] isTitleEffectActive SQF command to determine if there is a black/white title effect active to [Request] getTitleEffectName SQF command to be able to determine if there is a black/white title effect active.Apr 22 2022, 10:31 AM
kju-PvPscene updated the task description. (Show Details)
kju-PvPscene edited Steps To Reproduce. (Show Details)
kju-PvPscene edited Additional Information. (Show Details)
kju-PvPscene edited Steps To Reproduce. (Show Details)
BIS_fnc_KK removed BIS_fnc_KK as the assignee of this task.Apr 22 2022, 10:28 PM
BIS_fnc_KK changed the task status from Acknowledged to Feedback.