Page MenuHomeFeedback Tracker

(solved: i was executing cutrsc on each frame ) ctrlMapAnimAdd Dont work on a RscMapControl created in rsctitles
Closed, ResolvedPublic

Description

ive tryed to use ctrlMapAnimAdd in a RscMapControl in a HUD made with rsctitles and called with cutrsc and the command dont work, i even tryed with a mission eventhandler and it didnt work either.

Details

Severity
None
Resolution
Open
Reproducibility
Unable To Reproduce
Operating System
Windows 10 x64
Category
Other
Steps To Reproduce
c++

class RscTitles { 

class rscBugReport {

class minimap: RscMapControl

class controls { 
		{
			idc = 1803;
			x = 0.752656 * safezoneW + safezoneX;
			y = 0.687 * safezoneH + safezoneY;
			w = 0.216563 * safezoneW;
			h = 0.319 * safezoneH;
			ondraw = "  (_this#0) ctrlMapAnimAdd [0, 0.5, [0,0] ]; ctrlMapAnimCommit (_this#0)"; 
			scaleDefault = 0.5;
		};
};
};

Use the HUD ingame:

cutrsc [ "rscBugReport", "PLAIN"];

Event Timeline

flyingtarta renamed this task from ctrlMapAnimAdd Dont work on a RscMapControl created in rsctitles to (solved: i was executing cutrsc on each frame ) ctrlMapAnimAdd Dont work on a RscMapControl created in rsctitles .Jul 21 2024, 5:32 AM
flyingtarta changed Severity from Minor to None.
flyingtarta changed Reproducibility from Always to Unable To Reproduce.
flyingtarta changed Category from Scripting to Other.
dedmen closed this task as Resolved.Aug 1 2024, 11:41 AM
dedmen claimed this task.