| Author |
Message |
|
Yop_Solo
Gameop
Joined: Mon Jan 26, 2009 12:27 am Posts: 123
|
 AND NOW A NEW STICK
Hi,
I'm around the end of my script and now, I don't understand what is it happenning...
SETDELAYTRIGGER Break2 :Enter2 1000 :Enter2 KILLTRIGGER Break2
it suppose to do an "enter" (*) but it's jamming always there... could you see the error here ?
_________________ Dodger known as Yop Solo, Sysop twgsdodgerbbs.ath.cx http://cyberquebec.ca/_layout/?uri=http://cyberquebec.ca/twgsdodgerbbs/
|
| Mon Mar 16, 2009 10:50 pm |
|
 |
|
Legion
Lieutenant J.G.
Joined: Fri Jan 16, 2009 4:44 pm Posts: 494
|
 Re: AND NOW A NEW STICK
Yop_Solo wrote: Hi,
I'm around the end of my script and now, I don't understand what is it happenning...
SETDELAYTRIGGER Break2 :Enter2 1000 :Enter2 KILLTRIGGER Break2 send "*" <------ maybe ??????
I also "think" you dont have to kill the trigger. Using the trigger, kills itself.
it suppose to do an "enter" (*) but it's jamming always there... could you see the error here ?
_________________
|
| Mon Mar 16, 2009 11:02 pm |
|
 |
|
Singularity
Veteran Op
Joined: Thu Jun 02, 2005 2:00 am Posts: 5558 Location: USA
|
 Re: AND NOW A NEW STICK
Code: SETDELAYTRIGGER Break2 :Enter2 1000 pause
:Enter2 KILLTRIGGER Break2 send "*"
Yea, you need to actually send the enter. You also need to pause execution for the trigger to work
_________________ May the unholy fires of corbomite ignite deep within the depths of your soul...
1. TWGS server @ twgs.navhaz.com 2. The NavHaz Junction - Tradewars 2002 Scripts, Resources and Downloads 3. Open IRC chat @ irc.freenode.net:6667 #twchan 4. Parrothead wrote: Jesus wouldn't Subspace Crawl.
*** SG memorial donations via paypal to: dpocky68@booinc.com
|
| Mon Mar 16, 2009 11:23 pm |
|
 |
|
Yop_Solo
Gameop
Joined: Mon Jan 26, 2009 12:27 am Posts: 123
|
 Re: AND NOW A NEW STICK
I'm not so sure for that, cause Vid told me that the settriggerdelay command send automatic *... maybe I didn't understand what I meant cause it's my second language.
_________________ Dodger known as Yop Solo, Sysop twgsdodgerbbs.ath.cx http://cyberquebec.ca/_layout/?uri=http://cyberquebec.ca/twgsdodgerbbs/
|
| Mon Mar 16, 2009 11:36 pm |
|
 |
|
Kaus
Gameop
Joined: Tue Nov 19, 2002 3:00 am Posts: 1050 Location: USA
|
 Re: AND NOW A NEW STICK
Yop_Solo wrote: Hi,
I'm around the end of my script and now, I don't understand what is it happenning...
SETDELAYTRIGGER Break2 :Enter2 1000 :Enter2 KILLTRIGGER Break2
it suppose to do an "enter" (*) but it's jamming always there... could you see the error here ? SETDELAYTRIGGER Break2 :Enter2 1000 PAUSE :Enter2 KILLTRIGGER Break2 Send "*" Yop Solo wrote: I'm not so sure for that, cause Vid told me that the settriggerdelay command send automatic *... maybe I didn't understand what I meant cause it's my second language. setdelaytrigger only delays the actual script for your specified time I cant think of a twx command that actually send a enter automatically without a "*"
_________________ Dark Dominion TWGS Telnet://twgs.darkworlds.org:23 ICQ#31380757, -=English 101 pwns me=- "This one claims to have been playing since 1993 and didn't know upgrading a port would raise his alignment."
|
| Mon Mar 16, 2009 11:50 pm |
|
 |
|
Vid Kid
Commander
Joined: Sun Feb 25, 2001 3:00 am Posts: 1838 Location: Guam USA
|
 Re: AND NOW A NEW STICK
I think Yop Solo misunderstood , in an example I sent .. it had a delay with a pause in a nest of other triggers ...
and after a little time .. it would trigger to a lable that had the Send "8"
and that is what I mean by it was automatic .. to send the enter to complete the TWGS Tedit function I was doing.
Sorry for the confusion.
_________________ TWGS V2 Vids World on Guam Port 2002 Telnet://vkworld.ddns.net:2002 Discord @ DiverDave#8374 Vid's World Discord
Founding Member -=[Team Kraaken]=- Ka Pla
 Winners of Gridwars 2010 MBN Fall Tournament 2011 winners Team Kraaken Undisputed Champions of 2019 HHT Just for showing up!
The Oldist , Longist Running , Orginal Registered Owner of a TWGS server : Vids World On Guam
|
| Tue Mar 17, 2009 1:10 am |
|
 |
|
ElderProphet
Commander
Joined: Tue Oct 07, 2003 2:00 am Posts: 1133 Location: Augusta, GA
|
 Re: AND NOW A NEW STICK
Kaus wrote: setdelaytrigger only delays the actual script for your specified time setDelayTrigger doesn't delay the script for the time specified, it resumes the script after the time specified. The PAUSE that should follow any trigger is what delays the script. Small differences in what we've said, but they are particularly important in understanding triggers. In truth, mastering trigger usage is one of the harder concepts to TWX scripting. Regards, +EP+
_________________ Claim to Fame: only guy to ever crack the TW haggle algorithm, and fig/shield/hold price formula, twice.
|
| Wed Mar 18, 2009 12:53 am |
|
 |
|
Kaus
Gameop
Joined: Tue Nov 19, 2002 3:00 am Posts: 1050 Location: USA
|
 Re: AND NOW A NEW STICK
ElderProphet wrote: Kaus wrote: setdelaytrigger only delays the actual script for your specified time setDelayTrigger doesn't delay the script for the time specified, it resumes the script after the time specified. The PAUSE that should follow any trigger is what delays the script. Small differences in what we've said, but they are particularly important in understanding triggers. In truth, mastering trigger usage is one of the harder concepts to TWX scripting. Regards, +EP+ You are of course correct, oversight on my part. It is indeed the PAUSE not the DelayTrigger that pauses the script and the trigger resumes it. 
_________________ Dark Dominion TWGS Telnet://twgs.darkworlds.org:23 ICQ#31380757, -=English 101 pwns me=- "This one claims to have been playing since 1993 and didn't know upgrading a port would raise his alignment."
|
| Wed Mar 18, 2009 9:45 am |
|
 |
|