This forum is locked and will eventually go offline. If you have feedback to share you can find us in our Discord channel "MythoLogic Interactive" https://discord.gg/nECKnbT7gk

Forum rules

Search found 1 match

by Dxse
Fri Dec 06, 2024 11:11 pm
Forum: Superfighters Deluxe Map Editor
Topic: Activating ScreenShake once a Trigger is activated
Replies: 1
Views: 38893
Gender:

Re: Activating ScreenShake once a Trigger is activated

public void ShakeCamera(TriggerArgs args)
{
  Game.PlayEffect("CAM_S", Vector2.Zero, 1, 1000);
}
1 = intensity, 1000 = length in ms
Put the method name ShakeCamera inside a ScriptTrigger or any trigger of your choice inside the script method in properties,
then you're free to use it.