Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork630
-
I have a question about how to use Start(filename) and Abort(filename). For example, if I have abc.dll in my scripts folder and I need to load it, I use Start(abc.dll), but it actually has no effect.So what format should I use to load the script? |
BetaWas this translation helpful?Give feedback.
All reactions
You should use the format likeStart("abd.dll") andStart("abd.cs"). You pass the full file name to that command, but.dll will be assumed if the passed string doesn't have the file extension. For.cs and.vb scripts, the file extension part is mandatory to specify. You can use both absolute and relative paths. So when you want to start the script with the pathscripts\abc\def.dll (assuming the script folder to load is namedscripts), you can start it withStart("abc\def.dll").
Replies: 1 comment 2 replies
-
You should be able to start a script with the I must ask this, how to reproduceliterally no effect by executing the |
BetaWas this translation helpful?Give feedback.
All reactions
-
Yes, directly using Start(string) after automatically loading abd.dll crashes the game. When I used Start(abd.dll) without loading abd.dll, the script wouldn't load. For example: Start("abd") or Start(abd.dll) or Start("abd.dll"), which format should be used? I found through testing that the "" symbols must be added, the dll doesn't need to be entered, and using Start("PlayCutsceneV") is effective. |
BetaWas this translation helpful?Give feedback.
All reactions
-
You should use the format like |
BetaWas this translation helpful?Give feedback.