Welcome Forums Get help Choice when health is low. Reply To: Choice when health is low.

#4548
deWiTTERS
Keymaster

Is the problem that the script never runs at all? Because the script will not automatically run, it needs to be triggered by an actor. So the hero first needs to walk over some invisible actor to trigger this script.

I know what you are trying to do, but automatically run this script isn’t supported yet. In the future, there will be multiple triggers of scripts. Right now it’s only when you bump into an actor, but in the future, scripts can react on:

  • Death of an actor
  • Actor gets hurt
  • Loading a level

In your case you can then react on actor getting hurt. But that is not supported yet. So you will need to trigger it at certain points