Search found 119 matches

by zeltak
Mon Oct 27, 2014 8:37 pm
Forum: Mod Creation
Topic: ~Basic Scripting and Editor Help(Easy Scripting Updated!)
Replies: 64
Views: 30825

Re: ~Basic Scripting and Editor Help(Easy Scripting Updated!

Hmm.. teleporter_1.teleporter:enable() ..:disable(), enables and disables only the teleporter part of the whole thing. Particles, lights, sounds etc. are unaffected. How do I shut down and start up the whole thing? I tried leaving the .teleporter -part away from the script, but then it again doesn't...
by zeltak
Mon Oct 27, 2014 8:11 pm
Forum: Mod Creation
Topic: ~Basic Scripting and Editor Help(Easy Scripting Updated!)
Replies: 64
Views: 30825

Re: ~Basic Scripting and Editor Help(Easy Scripting Updated!

Lark wrote:Use "enable" and "disable""

Code: Select all

function flyAway()
  teleporter_1.teleporter:enable()
  end
Thank you.
by zeltak
Mon Oct 27, 2014 8:02 pm
Forum: Mod Creation
Topic: ~Basic Scripting and Editor Help(Easy Scripting Updated!)
Replies: 64
Views: 30825

Re: ~Basic Scripting and Editor Help(Easy Scripting Updated!

I'll post my question here, so not to flood forum with every single simple question in its own thread. How do I activate and deactivate teleporters from the script? I tried: teleporter_name.teleporter:activate() teleporter_name.teleporter:deactivate() but it returns with "attempt to call method 'act...
by zeltak
Mon Oct 27, 2014 6:57 pm
Forum: Mod Creation
Topic: Timer?
Replies: 10
Views: 7369

Re: Timer?

Thank you! I knew I was missing something.
by zeltak
Mon Oct 27, 2014 6:25 pm
Forum: Mod Creation
Topic: Some objects not textured ?
Replies: 16
Views: 5145

Re: Some objects not textured ?

There are some objects (legionary spear for example) that were in LoG1 but here they are without textures. Would it be easy to get the textures from LoG1?
by zeltak
Mon Oct 27, 2014 5:29 pm
Forum: Mod Creation
Topic: Timer?
Replies: 10
Views: 7369

Timer?

It seems that timer works a little differently than in LoG1. I can't figure out how to use them so that they don't start at the beginning of the game/level.. I tried to use pressure plates so that as pressure plate is activated it starts the timer and when it is deactivated it would stop it. But the...
by zeltak
Thu Oct 23, 2014 9:59 pm
Forum: Mod Creation
Topic: Name of "click" sound?
Replies: 9
Views: 3568

Re: Name of "click" sound?

It's the same thing as in LoG1. It's the key_lock sound.
by zeltak
Wed Oct 22, 2014 9:50 pm
Forum: Mod Creation
Topic: ~Basic Scripting and Editor Help(Easy Scripting Updated!)
Replies: 64
Views: 30825

Re: ~Basic Scripting and Editor Help(Easy Scripting Updated!

Is there a way to reset the preview mode? Or to change the time of day in the preview mode?
by zeltak
Wed Oct 22, 2014 6:38 pm
Forum: Mod Creation
Topic: ~Basic Scripting and Editor Help(Easy Scripting Updated!)
Replies: 64
Views: 30825

Re: ~Basic Scripting and Editor Help(Easy Scripting Updated!

SnowyOwl47 wrote: Yes you add a connector:

Code: Select all

monster_name.monster:addConnector("onDie", some script, some function)
Thanks.
by zeltak
Wed Oct 22, 2014 6:16 pm
Forum: Mod Creation
Topic: ~Basic Scripting and Editor Help(Easy Scripting Updated!)
Replies: 64
Views: 30825

Re: ~Basic Scripting and Editor Help(Easy Scripting Updated!

Is there a way to add onDie trigger to a creature you spawn with a script?