Skip to content
Jigwright
HullForge docs

Set Collection Parameter

Set a collection parameter's DEFAULT, creating it if the name is new. The default is what the world starts with and not what the game will see: anything that writes to the collection at runtime replaces it from that moment on.

hf_set_collection_parameterWrite

Arguments

NameTypeDescription
collectionreqstring
parameterreqstring
anumber
= 1
bnumber
forceboolean
= false
Edit even when the asset cannot currently be saved - for example when revision control is configured but disconnected. The change will be made in memory and WILL BE LOST unless the underlying problem is fixed before saving. Only pass this if you intend to discard the work or fix the connection first.
gnumber
rnumber
scalarnumberA scalar default. Give this or the four colour components, not both.

Nearby in Materials:

All 28 tools in Materials — 19 more not listed here.