OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Diepvriezer on 13 Jan 2003, 19:25:19
-
Hi! I have a script like this:
; Women1 talk at start of map
women1 sidechat "1";
women1 sidechat "2";
women1 sidechat "3";
women1 sidechat "3";
women1 sidechat "4";
women1 sidechat "5";
women1 sidechat "6";
women1 sidechat "7";
women1 sidechat "8";
women1 sidechat "9";
But now she says everything at one time, so I need to put a delay of 3 seconds between every talk
How can I do this??? How to put a delay from 3 seconds between the talks?
-
; Women1 talk at start of map
women1 sidechat "1";
~3
women1 sidechat "2";
~3
women1 sidechat "3";
~3
women1 sidechat "3";
~3
women1 sidechat "4";
~3
women1 sidechat "5";
~3
women1 sidechat "6";
~3
women1 sidechat "7";
~3
women1 sidechat "8";
~3
women1 sidechat "9";
You see, the ~x let's you create a delay of x seconds.
Just one more thinking; don't expect women1 to live
very long, if it's really only she, talking all the while ;D
~S~ CD
-
whehe :P, it`s for my map "Everon Fietstocht" it`s dutch ;), you have to driver a tour with others on a bycycle ;), just for fun with my clan :P
-
Hey
I'm not into much scriptin', just wanna ask this.
What does that do?
O Neil ;)
-
What do you mean??? :P< MY english is very bad :D
-
No, I was just askin what all those words do.
O Neil ;)
-
i dont know if this is what ur asking O Neil but if u mean women1 sidechat "1"; ~3 and so on listen up...
Women1=the person u want to talk (her name)
Sidechat "1"=tells her to talk on sidechat aka to the East,Civilian, or West side.
~3=delay for 3 seconds.
Pandoz
-
........your saying that you want a ladie to talk to someone on radio and then talk to them again 3 seconds later.........couldn't you just create a trigger with the activation feild of :
Ladie sidechat "blah blah blah..."
and make another trigger to be activated 3 seconds later ?
-
yeah you could, but you'd end up with a lot of triggers if its a big conversation, its just easier in a little script so you can change things easy.
-
Ho, ok I see, sorry. ;)