Hello!
I currently call a Wait(20) command before changing rooms, which is going to add up to a lot of repeated code, so I wondered if there was a way to create these two lines as a single custom function?
Code: ags
I gave it a shot, but ran into trouble trying to pass the CharacterDirection enum...
Thanks for any help!
I currently call a Wait(20) command before changing rooms, which is going to add up to a lot of repeated code, so I wondered if there was a way to create these two lines as a single custom function?
Wait(gvWaitTime);
player.ChangeRoom(8, 212, 126, eDirectionDown);
I gave it a shot, but ran into trouble trying to pass the CharacterDirection enum...
Thanks for any help!