Changeset 245 for trunk/lingosource/castlib2/aleXtrasMovieScript.ls
- Timestamp:
- 03/21/10 11:39:48 (2 years ago)
- File:
-
- 1 edited
-
trunk/lingosource/castlib2/aleXtrasMovieScript.ls (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/lingosource/castlib2/aleXtrasMovieScript.ls
r244 r245 56 56 end if 57 57 58 alextras = rawnew(cms.script)58 alextras = new(cms.script) 59 59 if ilk(alextras) <> #instance then 60 60 alert "Script" & QUOTE & "commonMovieScript" & QUOTE && "is missing. This movie can't proceed!" … … 109 109 if scrName = "commonMovieScript" then return alextras 110 110 111 inst = alextras.mGetInstance(scrName, 1) 111 str_scrName = alextras.mSymb2String(scrName) 112 inst = alextras.mGetInstance(str_scrName, 1) 112 113 if ilk(inst) <> #instance then 113 114 if the runmode contains "aut" then 114 put "Script" && QUOTE & scrName & QUOTE && "is missing! This may cause unwanted behavior" 115 end if 116 inst = [] 117 end if 115 put "Script" && QUOTE & str_scrName & QUOTE && "is missing! This may cause unwanted behavior" 116 end if 117 inst = [] 118 end if 119 if ilk(inst) = #instance then 120 if inst.handler(#new) = 1 then inst.new() 121 end if 118 122 return inst 119 123 ---------------------- 120 124 121 125 122 scrName = symbol(scrName)126 scrName = alextras.mSymbolify(scrName) 123 127 if ilk(scrName) <> #symbol then scrName = #commonmoviescript 124 128 scri = (mGetAleXtras()).getaprop(#scripts) … … 233 237 end repeat 234 238 includes.deleteOne(#commonMovieScript) 235 globs[#gParentScriptInstances] = includes239 globs[#gParentScriptInstances] = includes 236 240 237 241 exit … … 280 284 if not(objectP(incl)) then 281 285 put "No scriptinstances stored" 282 exit286 exit 283 287 end if 284 288
Note: See TracChangeset
for help on using the changeset viewer.
