You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ScriptEditor/FormScriptEditor.cs
+35Lines changed: 35 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -271,6 +271,22 @@ private void LoadControls()
271
271
cmbTable.SelectedIndex=0;
272
272
cmbSetMovementType.SelectedIndex=0;
273
273
274
+
//Add tooltips to controls.
275
+
ToolTiptoolTip1=newToolTip();
276
+
toolTip1.AutoPopDelay=5000;
277
+
toolTip1.InitialDelay=1000;
278
+
toolTip1.ReshowDelay=500;
279
+
toolTip1.SetToolTip(this.chkSwapInitial,"Swaps the original source and target, before buddy is checked.");
280
+
toolTip1.SetToolTip(this.chkSwapFinal,"Swaps the final source and target, after buddy is assigned.");
281
+
toolTip1.SetToolTip(this.chkTargetSelf,"Replaces the final target with the final source.");
282
+
toolTip1.SetToolTip(this.chkAbortScript,"Terminates the whole script if the command fails.");
283
+
toolTip1.SetToolTip(this.chkSkipMissingTargets,"Command is skipped if source or target is not found, without printing an error.");
284
+
toolTip1.SetToolTip(this.lblDelay,"Delay in seconds before the command runs.");
285
+
toolTip1.SetToolTip(this.lblPriority,"Defines the order of execution of commands with the same delay. Lower priority runs first.");
286
+
toolTip1.SetToolTip(this.lblCommandCondition,"Command will only be executed if the specified condition is satisfied. Checked after targets are assigned.");
287
+
toolTip1.SetToolTip(this.lblComment,"Script Name: Source Name - Command Name");
288
+
toolTip1.SetToolTip(this.lblTargetType,"Allows you to replace the original target that's provided to the script.\r\nBe aware that it's the source that executes the action, while target is only used as an additional argument for some commands.\r\nFor example if you use the Cast Spell command, its the source that will cast the spell at the target.\r\nTo make another object perform the action, use the flag to swap the source and target.");
289
+
274
290
//MessageBox.Show((cmbCommandId.SelectedItem as ComboboxPair).Value.ToString());
0 commit comments