Author Topic: Parallel process only once!  (Read 1743 times)

Offline toni112007

  • Trained Member
  • *
  • Posts: 20
  • LV: 0
    • View Profile
Parallel process only once!
« on: October 10, 2012, 01:05:39 PM »
Hi all how can i make Parallel process only once!
This is how it happens for me
I enter room it happens and with erase event its over
but when i enter new room and when back to this one
same process happens again...
How can i prevent this from happening so that only once happen?

Also i made event where you enter room and doors are blocked/collapsed with boulder after few frames.
its also parallel process with self switches.
And when i enter new room and back to this one Boulder/rock is missing...not there.
I made this event like First event page SE,set event location,graphic of boulder/rock and self switch A=on.
second page is graphic of boulder/rock and self switch A=on

SO can you help me answer this question?

I hate when my event happen twice
Like i have tinderbox item and when i pick it up i cannot pick it up again,but when i enter new room
and back to this one i can pick it up again...how to fix that? via common event?

Offline diagostimo

  • Ethereal Devastator
  • ****
  • Posts: 257
  • LV: 20
    • View Profile
Re: Parallel process only once!
« Reply #1 on: October 10, 2012, 01:40:31 PM »
new event page, with a condition of a switch or self switch, then trigger that switch at the end of the other event proccess, delete event does not permenantly delete the event, it only deletes it until the map is reloaded

Offline toni112007

  • Trained Member
  • *
  • Posts: 20
  • LV: 0
    • View Profile
Re: Parallel process only once!
« Reply #2 on: October 10, 2012, 04:58:30 PM »
i didnt understand  :(

Offline KK20

  • Master Scripter Fixer
  • Global Moderator
  • Lexima Warrior
  • ****
  • Posts: 2943
  • LV: 368
  • Gender: Male
  • Bringer of Salt
    • View Profile
Re: Parallel process only once!
« Reply #3 on: October 10, 2012, 07:09:46 PM »
Page 1 (Parallel Process):
Graphic: None
Conditions: None
Commands: Sound effects, graphics, turn Self Switch A ON

Page 2 (Action Button):
Graphic: Rock
Conditions: Self Switch A = ON
Commands: None

Erasing Events, as diagostimo said, only removes the event for that instance of the map. Leaving the map and returning to it will bring the event back. Unless you know how to access your map files and remove events from them via scripts, there is no permanent way of removing events. You must use switches (or some other form of condition) to prevent events from triggering twice.



(click to show/hide)
NNID: KK20-CP

Offline toni112007

  • Trained Member
  • *
  • Posts: 20
  • LV: 0
    • View Profile
Re: Parallel process only once!
« Reply #4 on: October 10, 2012, 07:31:36 PM »
I did exactly what you said but again after re enter room my graphic of boulder dissapears...
I need boulder to stay after i re enter room...

for the second event
The graphic didnt appear at all...
I will explain what i need
Im working on game Like Amnesia
and i need some graphic to appear for few frames and dissapear after few frames...
so it looks like halucination.I managed to do that but when i renter room it happens again

SO basicly i need for first event graphic to stay and for second event that dont appear again
so how to do this?

Offline toni112007

  • Trained Member
  • *
  • Posts: 20
  • LV: 0
    • View Profile
Re: Parallel process only once!
« Reply #5 on: October 10, 2012, 07:36:01 PM »
also on the first event i made set event location command.

Offline KK20

  • Master Scripter Fixer
  • Global Moderator
  • Lexima Warrior
  • ****
  • Posts: 2943
  • LV: 368
  • Gender: Male
  • Bringer of Salt
    • View Profile
Re: Parallel process only once!
« Reply #6 on: October 10, 2012, 07:41:52 PM »
Please don't double post. There's a modify button.

Something like this is really trivial to pull off, yet you're making this harder than it sounds. I'd like to see some screenshots of your events.



(click to show/hide)
NNID: KK20-CP

Offline toni112007

  • Trained Member
  • *
  • Posts: 20
  • LV: 0
    • View Profile
Re: Parallel process only once!
« Reply #7 on: October 10, 2012, 07:58:27 PM »
This is my project i will upload screens,wait few moments

http://www.youtube.com/watch?v=tsC2vCDOWR0

Offline toni112007

  • Trained Member
  • *
  • Posts: 20
  • LV: 0
    • View Profile
Re: Parallel process only once!
« Reply #8 on: October 10, 2012, 08:06:21 PM »
I figured out! Set event location was problem i erased it and it works :D