Makes a DAOC window resizable.
MouseCanChangeWinSize ( [unconstrained] )
Unconstrained. Optional. Use with caution. See remarks.
Hotkey ( F1 ) { // MOST PEOPLE SHOULD USE // THIS EXAMPLE, NOT THE // SECOND EXAMPLE MouseCanChangeWinSize () } // OR Hotkey ( F2 ) { // NOT GENERALLY RECOMMENDED // CAN MAKE DAOC LOOK WORSE MouseCanChangeWinSize ( unconstrained ) }
A resizable window is one that you can shrink or enlarge by dragging its frame with the mouse. This command makes a DAOC window resizable.
By default, the DAOC window will keep its proportions (its aspect ratio) as you resize it. This makes the window look better. This is called constraint. But if you want the ability to change the window’s proportions, write unconstrained in your script as shown in the second example above.
This page was first published on January 10, 2021, last revised on January 12, 2021, and last republished on January 13, 2021.