I've tried to use this simple code:
The problem arises with objects, where speed is set only one time, for example, bullets, which means their speed is gonna get halved until they are not moving at all. But if I set this code, so it will only get executed at the beginning of the slow motion, objects where speed is repeatedly restarted, for example, enemies that use mp grid pathfinding, won't get affected at all. What would be the best solution besides going to every speed variable and adding *global.slow?
GML:
with(all)
{
speed=speed*global.slow
path_speed=path_speed*global.slow
}