No, you must put the code inside the actions function.
function Trig_Untitled_Trigger_001_Actions takes nothing returns nothing
// A unit enters the building
local unit roof = gg_unit_hfoo_0000
call FadeUnitVertexColorForPlayer( roof, 1, 1, 1, 1, 1, 1, 1, 0.40, 1.0...