Jump to content

Home

Grim Launcher 1.3.1 - Loading Lua Scripts


lagamorph321

Recommended Posts

Hi All,

 

I was wondering if someone could tell me how to get a lua script to work using Grim Launcher.

 

I've been able to successfully issue these commands one at a time by pressing ctrl + E.

 

manny.knock_costume="msb_knock_on_door.cos"

manny:push_costume(manny.knock_costume)

manny:play_chore(ma_knock_on_door_knock,manny.knock_costume)

 

Here is what i've tried...

 

1. I place these three lines into a file I've named GR_Knock.LUA in my c:\ directory.

 

2. I use alt+s to bring up the dialogue box

 

3. Type in "c:\GR_Knock.LUA" in the dialogue box

 

4. Click on OK.

 

No costume change, no knocking on door action.

 

Do I need to put my script into a specific directory?

 

Any help would be appreciated. Thanks!

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...