Forum rules - please read before posting.

Using label for BoolField with no parameter override

Hello, I have a custom AC Action with several bool parameters that can be overriden. Each of these is represented by a BoolField in the ShowGUI override. However, instead of having the name of these bools written in the node in the Action List Editor, I saw "Value:" for each of them - that is, until I added a bool parameter and clicked on the button to bind it to one of the bools. When I did that, the actual name was displayed.

This is caused by line 759 of Action :

boolValue = (BoolValue)EditorGUILayout.EnumPopup("Value:", boolValue);

"Value:" here can just be replaced by label and that does the trick !

Please let me know if this modification makes perfect sense and will be applied :smile:

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.