Jump to content

Welcome to Gaming On Steroids Forums
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account
Photo

Help with .lua file calling

Coding .lua lua

  • Please log in to reply
1 reply to this topic

#1
mrwhitedaarb

mrwhitedaarb

    Newbie

  • Members
  • 8 posts

I'd like to code a scripts that detects my champ, lets say blitzcrank, and loads a script i have specified to the champ it loaded. But im not sure as to how load another script ingame from a different script. Or call the code from the script and run it withing my own. 


  • 0

#2
mrwhitedaarb

mrwhitedaarb

    Newbie

  • Members
  • 8 posts

Someone helped me. If anyone wants to know the code looks like this:

file = assert(loadfile("C:\\DIR\\SCRIPT.lua"))
file()

  • 0





Also tagged with one or more of these keywords: Coding, .lua, lua

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users