Author Topic: Simple question about pause  (Read 1814 times)

0 Members and 1 Guest are viewing this topic.

Offline sarkTopic starter

  • Newbie
  • *
  • Posts: 6
  • Activity:
    0%
  • Reputation Power: 1
  • sark has no influence.
  • Respect: 0
  • Referrals: 0
    • View Profile
Simple question about pause
« on: March 14, 2013, 10:55:00 AM »
0
Hi, i know that the pause command temporarily stops the execution of the current script. But there is an alternative that allows you to pause ALL scripts of easyUO?

Thanks  :)

Offline manwinc

  • Elite
  • *
  • *
  • Posts: 2556
  • Activity:
    0%
  • Reputation Power: 32
  • manwinc is a rising star!manwinc is a rising star!manwinc is a rising star!manwinc is a rising star!manwinc is a rising star!manwinc is a rising star!
  • Gender: Male
  • "The Devs Hard at Work"
  • Respect: +123
  • Referrals: 1
    • View Profile
Re: Simple question about pause
« Reply #1 on: March 14, 2013, 11:52:36 AM »
0
You would have to use a Global Variable

Either through Namespaces or Through Registry.

Example

set *Mwinc_Pause #True
wait 1200 ; 1 Minute
set *Mwinc_Pause #False ; Sets the Global Variable back to False
halt

Then in your other scripts you would add this line to its cycle


if *Mwinc_Pause = #True
Pause
Monkeys and Typewriters!

" Oh I know, We'll make a Boss Encounter that requires 3 keys per player to enter, Then we'll make it not a closed instance so you never know if you are going to pop into a fresh room or a boss that has 1% Health left with 20 dudes smashing its face in, wasting your time and effort"

Offline Khameleon

  • Script Tester - Team Leader
  • Elite
  • *
  • *
  • Posts: 2574
  • Activity:
    0%
  • Reputation Power: 30
  • Khameleon is a rising star!Khameleon is a rising star!Khameleon is a rising star!Khameleon is a rising star!Khameleon is a rising star!Khameleon is a rising star!
  • Gender: Male
  • Respect: +238
  • Referrals: 0
    • View Profile
Re: Simple question about pause
« Reply #2 on: March 14, 2013, 12:48:18 PM »
0
there used to be a way, but for some reason cheffe removed it... it used to be the CAPS lock key

Tags: