ALPHIVE 14 Posted June 9, 2017 Hi everybody ;) I would know how to do like this : ***Script is repeatable*** I enter the trigger it activate the script (for exemple a speech) I enter again 1 second after, the script doesnt activate I enter again but 10 seconds after, the script activate I mean that i would place a delay between each script activation of 10 seconds Is it possible ? Thank guys for your help ! :) Share this post Link to post Share on other sites
phatpuke 16 Posted June 9, 2017 Have the script have a variable such as 'WaitingTimer' have this sat in a if statement and another loop inside your main statement. if(WaitingTimer <= 0) then { waitingTimer = 10; CODE ; for "_i" from 1 to _limit do {waitingTimer = WaitingTimer - 1; sleep 1;}} else {""}; for example? Share this post Link to post Share on other sites
ALPHIVE 14 Posted June 9, 2017 ok for exemple if i have initial script like SOLDIER say3D "speech1" I must do like : if(WaitingTimer <= 0) then { waitingTimer = 10; SOLDIER say3D "speech1" ; for "_i" from 1 to _limit do {waitingTimer = WaitingTimer - 1; sleep 1;}} else {""}; Right ? Share this post Link to post Share on other sites
phatpuke 16 Posted June 10, 2017 oh also change _limit to 10. Share this post Link to post Share on other sites