C++
  • C++
  • 🚀Plugin set up
  • 🖇️Connection
  • 🎯Sensations
    • 🏹What is a sensation
    • ⚒️Create sensations
    • 📲Send sensations
    • 📥Import sensations
  • 🎮Configure your game
  • 🖥️Tools
    • 👀OWO Visualizer
    • 💻Sensations Creator
Powered by GitBook
On this page
  1. Sensations

Create sensations

To add sensations to your project, you can create them in several ways:

Create a sensation and save it in a variable

auto ball = SensationsFactory::Create(100, 0.1f, 100, 0, 0, 0);

Create a sensation, then assign muscles

auto ballWithMuscles = ball->WithMuscles({ Muscle::Pectoral_R });

Create a sensation, then assign muscles with overrided intensity

auto softBall = ball->WithMuscles({ Muscle::Pectoral_R.WithIntensity(50) });

Create a sensations sequence

auto sequence = new SensationsSequence({ daggerEntry, bleeding });

Cast a sensation from a rawString

auto ball = SensationsParser::Parse("100,1,100,0,0,0,Ball");
PreviousWhat is a sensationNextSend sensations

Last updated 1 year ago

🎯
⚒️