Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

is there a way to add a delay? #25

Open
Mercurian opened this issue Jan 27, 2020 · 2 comments
Open

is there a way to add a delay? #25

Mercurian opened this issue Jan 27, 2020 · 2 comments

Comments

@Mercurian
Copy link

Mercurian commented Jan 27, 2020

So uh, long story short I've been using this for years with a cure received set and I just finally actually noticed it hasn't worked this whole time lol.

When a trust casts cure it does put the set on, but, it seems to take it off and go back to normal before the cure lands. is there a way to add an artificial delay.

    ["Cure IV"]={
        ["complete_reaction"]="gs c reset DefenseMode", 
        ["ready_reaction"]="gs equip sets.Cured"

Is there a way to like...
["Cure IV"]={
["complete_reaction"]=wait 1, "gs c reset DefenseMode",
["complete_reaction"]=wait1, "gs c reset DefenseMode",
["complete_reaction"]=sleep 1, "gs c reset DefenseMode",
["complete_reaction"]=delay 1, "gs c reset DefenseMode",
etc

@Icydeath
Copy link

Icydeath commented Feb 3, 2020

have you tried this?

["complete_reaction"]="wait 1;gs c reset DefenseMode",

@Mercurian
Copy link
Author

Mercurian commented Feb 5, 2020

It still changes instantly, the problem I always find is context. lack of quotes or colon/semicolon or the right word or spaces
like.....
["complete_reaction"]="wait 2"; "gs c reset DefenseMode"
["complete_reaction"]="wait2"; "gs c reset DefenseMode"
["complete_reaction"]="wait 2;gs c reset DefenseMode"
["complete_reaction"]="wait2; gs c reset DefenseMode"
["complete_reaction"]=wait 2; "gs c reset DefenseMode"
["complete_reaction"]=wait2; "gs c reset DefenseMode"

I think I can make it work with a script;
["complete_reaction"]="Exec wait.txt"
and then text file reads

wait 2
input //gs c reset DefenseMode

But I'd like to not have to ghetto rig it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants