OpenTextInput "The cursor in the next line appears centered - possible ? (max 29 chars)%r|Finished" 0 29
messageboxEx "%{optionaltext %}text|Done" bwon't work if b has the value 2 ? or the script would act as if b were 1 ?
string_var nameLet n := ar_construct arrayar_Resize n 4short i; n[0],...n[3] take string valueslet name := sv_construct "%z" n[1] ; not workingi=0let name := sv_construct "%z" n[i] ; not workingmessageboxEx "Your name is %z" n[0] ; not working
string_var name_templet name_temp := sv_construct "%z" n[0]messageboxEx "Your name is %z" name_tempsv_destruct name_temp?
let name := "Your name is " + n[1]messageBox $name
let str := "What would you like to do ?" let str += "|Place a marker here" let str += "|Nevermind"produces a "What would you like to do ?|Place a marker here|Nevermind"
let name := sv_construct "%z" n[1] ; not workingi=0let name := sv_construct "%z" n[i] ; not workingbe :
let name := "%e" + n[1]i=0let name := "%e" + n[i]?
set string1 to sv_Construct "First string" set string2 to string1 set string1 to sv_Construct "Second string" ; modifies both string1 and string2...both string1 and string2 end up containing "Second string." If this is not desired behavior, use sv_Construct to copy the contents of one string to another, i.e.: set string2 to sv_Construct "%z" string1 ; copies string1's contents to string2 set string2 to player.GetName ; modifies only string2
let str := "What would you like to do ?" let str += "|Place a marker here" let str += "|Nevermind"produces a "What would you like to do ?|Place a marker here|Nevermind"
let name := sv_construct "%z" n[1] ; not workingi=0let name := sv_construct "%z" n[i] ; not workingbe :
let name := "%e" + n[1]i=0let name := "%e" + n[i]?
forEach aIterator <- n let name += *aIteratorloop
forEach aIterator <- n let name += *aIteratorloop
let name:= n[0]would make both name and n[0] refer to the same string ( OBSE doc :direct assignment of one string variable to another causes both variables to refer to the same string). Correct for array elements ? If yes, would it be avoided thus :
let name := "%e" + n[0]?
let name:= n[0]would make both name and n[0] refer to the same string ( OBSE doc :direct assignment of one string variable to another causes both variables to refer to the same string). Correct for array elements ? If yes, would it be avoided thus :
let name := "%e" + n[0]?
scn jawmousewheeltestscriptfloat fQuestDelayTimeBegin Gamemodeset fQuestDelayTime to .0001If IsKeyPressed2 11 == 0 setnumericgamesetting fVanityModeWheelMult 0.0000 EnableControl 23 EnableControl 24 printc "key not held, controls enabled"elseif IsKeyPressed2 11 == 1 setnumericgamesetting fVanityModeWheelMult 0.1000 DisableControl 23 DisableControl 24 printc "key held, controls disabled"EndifEnd
scn jawmousewheeltestscriptfloat fQuestDelayTimeBegin Gamemodeset fQuestDelayTime to .0001If IsKeyPressed2 11 == 0 setnumericgamesetting fVanityModeWheelMult 0.0000 EnableKey 264 EnableKey 265 printc "key not held, controls enabled"elseif IsKeyPressed2 11 == 1 setnumericgamesetting fVanityModeWheelMult 0.1000 DisableKey 264 DisableKey 265 printc "key held, controls disabled"EndifEnd
scn jawmousewheeltestscriptfloat fQuestDelayTimestring_var testerstring_var tester1Begin Gamemodeset fQuestDelayTime to .0001If IsKeyPressed2 11 == 0 setnumericgamesetting fVanityModeWheelMult 0.0000 SetStringINISetting "Quick6|000708FF" SetStringINISetting "Quick7|000809FF" set tester to getstringinisetting Quick6 set tester1 to getstringinisetting Quick7 printc "Quick6 is %z" tester printc "Quick6 is %z" tester1elseif IsKeyPressed2 11 == 1 setnumericgamesetting fVanityModeWheelMult 0.1000 SetStringINISetting "Quick6|0007FFFF" SetStringINISetting "Quick7|0008FFFF" set tester to getstringinisetting Quick6 set tester1 to getstringinisetting Quick7 printc "Quick6 is %z" tester printc "Quick6 is %z" tester1Endif
if player.getincell OblivionRDCaves02 == 1 || player.getincell OblivionRDCaves04 == 1 || player.getincell OblivionRDCaves06 == 1 set weareinOblivionohdear to 1; And so on for all the cells, god help me.