Songs on Nexus

by Zalandrus

Back to Mechanic's Corner.

Zalandrus2006-11-12 17:06:43
The extent of my Nexus knowledge goes only as far as #echo and triggers to capture targets...I still don't know what I'm going to do if I need more than 10 triggers blink.gif

Anyways. Is there any way to make some sort of timer on Nexus so that once I play a stanza of my song or refrain it, the timer starts over, and will echo back some reminders at given intervals (ie, one message when 30 sec. are left, another when 10 sec. are left...).

I tried using the #wait command, but the waits don't reset when I move on or refrain, meaning that if I play 5 stanzas in a row, I'd get 5 messages in a row 30 seconds later saying that my song is halfway through...

Any help is appreciated! laugh.gif
Daganev2006-11-12 21:20:46
Nexus doesn't work with "time" but it works with "states" just fine.

Your best bet is to find lines that simulate timing. I have no idea how bards work, so I don't know how to do this specfically.

But wait is only ment to give intermidant pauses, not to time things for you.


Another Idea I just had is a trigger that has the following code
#wait 5000
#add timer 5
#if timer =5 { #echo 5 seconds have passed} elsif timer = 30 { #echo 30 seconds have passed} elsif timer = 60 { #echo 60 seconds have passed} elsif timer > 60 {#set timer 0}


Then have another trigger with similar code that triggers on {d} seconds have passed
Zalandrus2006-11-12 21:31:56
We don't get any messages in the meantime related to the song, unfortunately.

I see what you're trying to do with the timer and wait, but what would the trigger-ing text be? Else, I'd need some kind of loop, wouldn't I?

This is what happens when you only take rudimentary C++ in school...
Gandal2006-11-12 21:36:03
What's #echo?
Zalandrus2006-11-12 21:38:08
It lets you spit some text back at you biggrin.gif I use it for my (attempt at a) manual curing system...
Gandal2006-11-12 21:48:37
Hm, so like if I had a trigger for "You begin feeling slightly flushed" and one line is #echo "Crotamine! Drink antidote!!!!", does that mean that it would be like

1000h, 1000m, 1000e, 5000w, 5000e, ex
You begin feeling slightly flushed
Crotamine! Drink antidote!!!!
1000h, 1000m, 1000e, 5000w, 5000e, ex
Daganev2006-11-12 23:59:39
Yep, and in a special color too.

I would trigger on the casting of the song, or on stanzas you have written.

The problem with loops is that the wait doesn't care that its in a loop or not, so you need to keep the #wait time small.