![Image](http://www.reactiongifs.com/r/thfl.gif)
Code: Select all
floor_trigger_8.floortrigger:disable()
Yes, many (most).Lark wrote:Although everyone besides me probably already knew this, it might be worth noting that, while the list has an entry for class "FloorTriggerComponent", for example, the actual code to reference one of the floor triggers is simply "floortrigger". For example, to call the "disable" method, use:I assume it's similar with other objects too.Code: Select all
floor_trigger_8.floortrigger:disable()
Again, thanks a million JKos!!
Oh yeah. Starting off, the hardest thing about scripting is knowing what the fuck you can even do or what specific word you need to actually do it.Sertorius wrote:I'm a total mod newbie and have sorted out very little about scripts and lua in general (just got my very first lua viewer/editor today), but I have a feeling I should copy this to a txt file! Thanks!