port func_timer and rename functionnames in g_trigger already to trigger_timer (without changing the classname yet to remain compatible)