Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Godot 4: Visual Script's variable hinting doesn't work #58484

Closed
archerallstars opened this issue Feb 24, 2022 · 2 comments
Closed

Godot 4: Visual Script's variable hinting doesn't work #58484

archerallstars opened this issue Feb 24, 2022 · 2 comments

Comments

@archerallstars
Copy link

Godot version

v4.0.alpha3.official [256069e]

System information

Windows 11, Vulkan Clustered, Intel UHD Graphics 620 v30.0.101.1340

Issue description

Visual Script's variable hinting doesn't work, as shown in the screenshot below:

Screenshot 2022-02-23 232228

This is a regression from Godot 3.4. For example, if the users set a variable hint to Enum, then set the hint strings, the value(int) of the variable would be shown as the hint string accordingly, as shown in the screenshot as shown below:

Screenshot 2022-02-23 232134

I expect the variable hinting to work in Visual Script.

Steps to reproduce

  1. Create a new variable as int type in Visual Script.
  2. Change the Hint to Enum.
  3. Add Hint Strings as much as you want. You won't see the value box change into the Hint String value.

Minimal reproduction project

No response

@archerallstars
Copy link
Author

I just noticed that hinting for the engine built-in property is working fine, for example, the rotation_order from Node3D class, as shown in the screenshot below:

Screenshot 2022-02-25 035442

But the user-created variable's property will not show the hinting, as shown in the screenshot below:

Screenshot 2022-02-25 040102

@KoBeWi
Copy link
Member

KoBeWi commented Sep 17, 2022

4.0 no longer has VisualScript.

@KoBeWi KoBeWi closed this as completed Sep 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants