Policenaut?
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuQuoteIMPORTANT: This command does not change the room immediately; instead, it will perform the actual room change once your script function has finished (This is to avoid problems with unloading the script while it is still running). This means that you should not use any other commands which rely on the new room (object positionings, and so on) after this command within the same function.
if (player.ActiveInventory == inventory[16]) {
//Blah!
} else if (player.ActiveInventory == inventory[14]) {
//Blah Blah!!
} else if (player.ActiveInventory == inventory[15]) {
//Blah Blah Blah!!!
} else {
//Blah Blah Blah Blah!!!!
}
}
Quote from: beeblebrox on Wed 17/12/2014 01:40:41What? Trophies are pretty welcomed here!
(if that is still allowed?)
Quote from: KodiakBehr on Mon 17/11/2014 04:27:28By 'converted' did you mean really converting to other format, or just renaming the file?
It was a text file I converted to a .dat.
QuoteNOTE: this command can only read back plain text lines from text files. If you attempt to use it with binary files or files written with commands like WriteString, WriteInt, etc then the results are unpredictable.
QuoteYou should only use this with files which you previously wrote out with File.WriteString. Do NOT use this function with any other files, even text files.
By continuing to use this site you agree to the use of cookies. Please visit this page to see exactly how we use these.
Page created in 1.156 seconds with 15 queries.