Author Topic:  SetEventScript Overhaul  (Read 513 times)

0 Members and 1 Guest are viewing this topic.

casual onion

  • Legendary Member
  • *****
  • Posts: 1842
  • I sometimes eat onions.
  • Awards 4 years on site 3 years on site 2 years on site 1 year on site
    • View Profile
    • YouTube Channel
    • Awards
  • Xbox: casual onion
  • Steam: casual onion
SetEventScript Overhaul
« on: February 14, 2018, 09:50:16 AM »
Howdy.

I must first credit Gordinio for giving me the idea.

Basically he wanted to have it so when you entered his factory you could press a button and open the stocklist to see what needs making.

What I think could be changed.

- Allowing keys to be used as well as X-B-Y as this opens up loads of possibilities.
- Making the script run for longer. Because the stocklist is a menu I had to hold the button in for it to stay up.
- I can't see any way to clear the SetEventScript using scripts, say when you left a zone.

Suggestions, thoughts welcomed etc.
| Thanks for reading my post. It was great, wasn't it? |

| I build Economy RPG Maps, here i my current one. Hazzah! |

| Feel Free to send me a message on here on the TM Discord (casual onion#3563) |

| Enjoy the next post! |

Dryym

  • Supreme Member
  • *****
  • Posts: 4334
  • What's yours is mine. ~TM's Resident Master Thief~
  • Awards Members who have unlocked the robotic avatar Awarded to exemplary forum members 2 years on site 3 years on site Site art contributions/TPs in-game/Contest winners 1 year on site
    • View Profile
    • Awards
  • Xbox: dryym
Re: SetEventScript Overhaul
« Reply #1 on: February 14, 2018, 09:59:57 AM »
To clear it you just omit the script path.

What do you mean make it run longer?

Creator of the term "Deathmine "
Jared [19|Oct 07:12 PM]: "It changes everything" Dryym

casual onion

  • Legendary Member
  • *****
  • Posts: 1842
  • I sometimes eat onions.
  • Awards 4 years on site 3 years on site 2 years on site 1 year on site
    • View Profile
    • YouTube Channel
    • Awards
  • Xbox: casual onion
  • Steam: casual onion
Re: SetEventScript Overhaul
« Reply #2 on: February 14, 2018, 10:08:52 AM »
To clear it you just omit the script path.

Can this be done through scripts?

What do you mean make it run longer?

The example i gave is the easiest way to explain it.
| Thanks for reading my post. It was great, wasn't it? |

| I build Economy RPG Maps, here i my current one. Hazzah! |

| Feel Free to send me a message on here on the TM Discord (casual onion#3563) |

| Enjoy the next post! |

Dryym

  • Supreme Member
  • *****
  • Posts: 4334
  • What's yours is mine. ~TM's Resident Master Thief~
  • Awards Members who have unlocked the robotic avatar Awarded to exemplary forum members 2 years on site 3 years on site Site art contributions/TPs in-game/Contest winners 1 year on site
    • View Profile
    • Awards
  • Xbox: dryym
Re: SetEventScript Overhaul
« Reply #3 on: February 14, 2018, 01:35:44 PM »
1: Yes. Just do the set event script and omit the script path.

2: And your example does not help me in the slightest. The event runs the script once. You can't just make a script run for longer unless you're using loops or waits.

Creator of the term "Deathmine "
Jared [19|Oct 07:12 PM]: "It changes everything" Dryym

casual onion

  • Legendary Member
  • *****
  • Posts: 1842
  • I sometimes eat onions.
  • Awards 4 years on site 3 years on site 2 years on site 1 year on site
    • View Profile
    • YouTube Channel
    • Awards
  • Xbox: casual onion
  • Steam: casual onion
Re: SetEventScript Overhaul
« Reply #4 on: February 14, 2018, 06:20:05 PM »
1: Yes. Just do the set event script and omit the script path.

Done, thanks.

2: And your example does not help me in the slightest. The event runs the script once. You can't just make a script run for longer unless you're using loops or waits.

Could you explain why I had to hold down B to keep the menu up? In its current state it's only good for like notes in quest maps for example.
| Thanks for reading my post. It was great, wasn't it? |

| I build Economy RPG Maps, here i my current one. Hazzah! |

| Feel Free to send me a message on here on the TM Discord (casual onion#3563) |

| Enjoy the next post! |

Craig

  • Developer
  • Extreme Member
  • ******
  • Posts: 6650
  • Dig Deep
  • Awards Developer 5 years on site 4 years on site 3 years on site 2 years on site Was in the top 10 of the forum stats page as of 4/12/15 Members who have unlocked the robotic avatar 1 year on site Day 1 w/25+ posts (4/12/13)
    • View Profile
    • Twitter
    • Awards
  • Steam: tota1miner
Re: SetEventScript Overhaul
« Reply #5 on: April 04, 2018, 08:56:25 PM »
Could you explain why I had to hold down B to keep the menu up? In its current state it's only good for like notes in quest maps for example.
It totally depends how you make the menu. Nothing to do with the script language or SetEventScript.

casual onion

  • Legendary Member
  • *****
  • Posts: 1842
  • I sometimes eat onions.
  • Awards 4 years on site 3 years on site 2 years on site 1 year on site
    • View Profile
    • YouTube Channel
    • Awards
  • Xbox: casual onion
  • Steam: casual onion
Re: SetEventScript Overhaul
« Reply #6 on: April 05, 2018, 07:18:06 AM »
So in the current game would it still be possible to do this?

Basically he wanted to have it so when you entered his factory you could press a button and open the stocklist to see what needs making.
| Thanks for reading my post. It was great, wasn't it? |

| I build Economy RPG Maps, here i my current one. Hazzah! |

| Feel Free to send me a message on here on the TM Discord (casual onion#3563) |

| Enjoy the next post! |