Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: dikla on Sat 05/06/2004 11:37:33

Title: replacing int sequence
Post by: dikla on Sat 05/06/2004 11:37:33
I want to make a sequence script. i have it, but in the room that i want to put the script there is aonther seqence script, which in the room editor the "int sequence" is already defind. my question is, if i can use another word for sequence (like: "dot" or something) and make the "sequence script" with that word. i tried to do so and did not succed.
or may be you sugssest to me a sequence script which not involved with the word sequence (the script should be likd sequence ++).
thanks dikla
Title: Re: replacing int sequence
Post by: ®2-D2 on Sat 05/06/2004 15:06:01
i don't quite understand what you mean with "sequence script" but you can simply define other integers (that's what "int" stands for) and juggle around with variables.
Title: Re: replacing int sequence
Post by: Scorpiorus on Mon 07/06/2004 12:22:33
Yeah, if two different variables conflict because of their identical names you can give one var another name. The thing is, to do it very carefully. The best idea would be to copy that additional script (one that uses int sequence) to the notepad editor and replace sequence with dot or whatever. And then copy it to the room script.
Title: Re: replacing int sequence
Post by: dikla on Tue 08/06/2004 21:21:36
thank you. i've just got your answer and indeed i tried the new word at the script and it is working. so thank you.
dikla