Book a Demo

Author Topic: How to run a state machine for each instance during simulation?  (Read 3942 times)

fy1997

  • EA User
  • **
  • Posts: 21
  • Karma: +0/-0
    • View Profile
I have a class,and a statemachine under it.During the simulation,I want to create at least 2 instances of this class,how can I run the same number  of statemachine as the instances for each instance?Does EA support this feature? 

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: How to run a state machine for each instance during simulation?
« Reply #1 on: July 08, 2020, 10:11:52 am »
Search the help for executable state machines. This allows multiple instances of state machines.

fy1997

  • EA User
  • **
  • Posts: 21
  • Karma: +0/-0
    • View Profile
Re: How to run a state machine for each instance during simulation?
« Reply #2 on: July 08, 2020, 12:54:41 pm »
Search the help for executable state machines. This allows multiple instances of state machines.

I want to use C++ for simulation, but I'm prompted to use the VS compiler, but for some reason I can't use VS, so can I use another compiler to support C++ simulation? What do I need to do if I can?