Tomb Raider Forums  

Go Back   Tomb Raider Forums > Tomb Raider Level Editor and Modding > Tomb Raider Level Editor > Tomb Raider Next Generation

Reply
 
Thread Tools
Old 09-09-20, 13:01   #1
TRSMART
Member
 
TRSMART's Avatar
 
Joined: Jun 2007
Posts: 245
Default Enable/disable triggers with script

Hi all,


Getting the hang of this scripting, only I can't seem to find how to enable/disable a trigger, for example: if you cross a certain tile a trigger in the room becomes activated, can this be done with the scripting process?
TRSMART is offline   Reply With Quote
Old 09-09-20, 14:00   #2
SSJ6Wolf
Member
 
SSJ6Wolf's Avatar
 
Joined: Nov 2004
Posts: 1,531
Default

There are two ways to do this, both of which are covered in this tutorial. The "traditional" method is using the Trigger_triggerer object, explained at the beginning of the tutorial. That approach does not need any scripting, but is a bit limited in use. The second approach is using globaltriggers in scripting, covered in the rest of the tutorial via various examples.

Last edited by SSJ6Wolf; 09-09-20 at 14:29.
SSJ6Wolf is offline   Reply With Quote
Old 09-09-20, 14:05   #3
TR-Freak
Unverified
 
TR-Freak's Avatar
 
Joined: Jan 2008
Posts: 5,140
Default

there is also the possibility to use a flipmap. place the trigger only in the flipmap and trigger the flipmap when needed.
TR-Freak is offline   Reply With Quote
Old 09-09-20, 14:14   #4
TRSMART
Member
 
TRSMART's Avatar
 
Joined: Jun 2007
Posts: 245
Default

Ok thanks guys will have a look at it!
TRSMART is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 11:50.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Tomb Raider Forums is not owned or operated by CDE Entertainment Ltd.
Lara Croft and Tomb Raider are trademarks of CDE Entertainment Ltd.