lexx 1363 Posted January 3, 2015 I am a bit stupid again right now and need some help: Is it possible to change the current cursor, based on my currently selected AddAction command? I am jumping through the wiki right now + google, but can't come up with anything useful. Basically, I want the players cursor to change when he uses the mousewheel to reach my newly created AddAction entry (without actually activating it). Similar to how the cursor changes depending on the vehicle positions I can chose when close to a car (driver, gunner, commander...). Anyone got any ideas? Share this post Link to post Share on other sites
Lala14 135 Posted January 3, 2015 I'm assuming you mean like with the addaction how at the centre of the screen it comes up with the text so instead you want like a picture? Well with what I've gathered from previous work you can't do that unless you want you can add an image with the addaction in the writing. Share this post Link to post Share on other sites
lexx 1363 Posted January 3, 2015 Yeah, that's exactly what I'd like to do. If this isn't possible... well, sux. No chance to "catch" the on screen text and modify it on the fly or something? Share this post Link to post Share on other sites
epicgoldenwarrior 11 Posted January 3, 2015 Its definitely possible. Idk how thoe :) Share this post Link to post Share on other sites
jshock 513 Posted January 3, 2015 Use structured text maybe? Share this post Link to post Share on other sites
rakowozz 14 Posted January 3, 2015 addAction is quite versatile. It accepts this sort of syntax: player addAction ["<img size=1' image='\a3\ui_f_curator\Data\Displays\RscDisplayCurator\modegroups_ca.paa'</>",TAG_fnc, nil, 0, false, false, "", "]; Keep in mind this is slightly different than what happens when you're facing a door, for example. The image will be displayed in the action menu as well. And if you're using a stringtable: <img size='1' image='\a3\ui_f_curator\Data\Displays\RscDisplayCurator\modegroups_ca.paa'</> Share this post Link to post Share on other sites
lexx 1363 Posted January 4, 2015 Yes, but that's not what I want. The image should only popup at the centerscreen. I was thinking that maybe the showWindow parameter from the AddAction should be set to false, and then we could draw an icon "manually" at this position onEachFrame. But for this to work, we would need to be able to read the currently selected action from the action menu. No idea if / how this is possible. Share this post Link to post Share on other sites