export (String,"oncrit","oncontact","ondamage") var trigger :String - how does this work ?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Inces
export (String,"oncrit","oncontact","ondamage") var trigger :String

how come it always returns empty string ? string options are shown correctly in export menu in editor. Whatever I choose - it is empty in project. How do I do this properly ?

:bust_in_silhouette: Reply From: Inces

Eh, fixed, it was another one of these requirring only resetting editor.