Author Topic: Repeating an event  (Read 1654 times)

0 Members and 1 Guest are viewing this topic.

Hi all!

I've searched in old topics but i didn't find exactly what I want to do:

To explain my problem simply:
I want to attribute a key to an event. Each time than the key is pressed, the event shall occure.

I've try several methods but without succes:
When i use: the "when" function, it runs, but only once.
When i use, "every-time", the function repeat don't stop to repeat: so the key pressed is never reset.

I've try the chaine, but i don't know why, it don't run.

I try to find a method to have the "key-pressed" checked at each cycle.

Could someone have the solution for my problem?!




°(-_-)°

 

Offline Lester

  • 27
Add a key-reset-multiple to your event. If you don't use it, the key will always count as pressed, causing the endless repeating which you mentioned.

 
Yes, i've try it too, but i have always the same problem:

In one case: the event runs once
In the the second case: the event runs to infinite  :shaking:
°(-_-)°

 
I've find a solution to my problem, but it seems than there are bugs following the key chosen...
°(-_-)°

 

Offline mjn.mixael

  • Cutscene Master
  • 212
  • Chopped liver
    • Steam
    • Twitter
You simply need to add a trigger count to your event. It's a box in the middle (between the events and messages) of the Event Editor window.

When (with high trigger count #)
--Key-Pressed
-----YOUR KEY
--ACTIONS
--Key-Reset-Multiple
Cutscene Upgrade Project - Mainhall Remakes - Between the Ashes
Youtube Channel - P3D Model Box
Between the Ashes is looking for committed testers, PM me for details.
Freespace Upgrade Project See what's happening.

  
Yes thank you, i've found the solution yesterday and it run well.
°(-_-)°