Jump to content
juleshuxley

Create display that doesn't disable mouse aiming?

Recommended Posts

I'm trying to create a vehicle HUD that shows what crew member is in what position. This would need a HUD that changes, because different vehicles have different number of positions.

I thought I was getting somewhere with various GUI commands such as ctrlCreate and ctrlSetPosition which allowing me to create a UI with a loop that would iterate through all the crew positions.

However, I then had a nasty shock:

_display = findDisplay 46 createDisplay "RscDisplayEmpty";

This disables the player from aiming with mouse, and puts a mouse cursor on screen! This is so the user can click the interface I imagine. But it's not a clickable interface it's purely controlled with the keyboard.

So how do I enable aim with mouse? Static GUIs that use c classes definited in description.ext don't deactive aim with mouse, but they're static, and I can't move them with ctrlSetPosition.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×