How to activate / deactivate a force field via script ?

Ask for help about creating mods and scripts for Grimrock 2 or share your tips, scripts, tools and assets with other modders here. Warning: forum contains spoilers!
Post Reply
Faerghail
Posts: 72
Joined: Tue Mar 27, 2012 8:49 pm

How to activate / deactivate a force field via script ?

Post by Faerghail »

Hi,

Must be simple but can't find how to activate or deactivate a force field via a script. Any idea plz ? :mrgreen:
User avatar
Doridion
Posts: 256
Joined: Tue Jun 10, 2014 9:23 pm

Re: How to activate / deactivate a force field via script ?

Post by Doridion »

AAAAAAAAAAAAAaaaaaaaaaaaaaaaaaaaaHEM !

......
...
......

Skugg's Video titorials part 6 : Boss fights with ... OMG ! Force fields activated/deactivated !

...
.....

:roll:

PS : First time like that, end of course, last time ....
Last edited by Doridion on Fri Oct 31, 2014 4:30 pm, edited 1 time in total.
User avatar
Prozail
Posts: 158
Joined: Mon Oct 27, 2014 3:36 pm

Re: How to activate / deactivate a force field via script ?

Post by Prozail »

force_field_1.controller:deactivate()
Faerghail
Posts: 72
Joined: Tue Mar 27, 2012 8:49 pm

Re: How to activate / deactivate a force field via script ?

Post by Faerghail »

Doridion wrote:AAAAAAAAAAAAAaaaaaaaaaaaaaaaaaaaaHEM !

......
...
......

Skugg's Video titorials part 6 : Boss fights with ... OMG ! Force fields activated/deactivated !

...
.....

:roll:

PS : First time like that, end of course, last time ....

Ohhh yes ,it was really OBVIOUS that force fields were explained in the Boss fights video tutorial ...

Thanks Prozail
Post Reply