Advertisement

Custom Script Source Attributes

Started by October 04, 2024 08:26 PM
1 comment, last by WitchLord 12 hours, 7 minutes ago

Hello!

Thanks for the amazing library.

Is there a way to add some custom attributes to function declarations in scripts?

e.g.

[[my custom attribute]]
void MyFunction()
{
}

None

Hi!

Thanks for the compliments. I'm happy you like my work.

Yes, metadata is supported by the asCScriptBuilder add-on.

https://angelcode.com/angelscript/sdk/docs/manual/doc_addon_build.html#doc_addon_build_metadata

Regards,
Andreas

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

Advertisement