www.tombraiderforums.com  

Go Back   www.tombraiderforums.com > Tomb Raider Modding > Tomb Raider Level Editor > Next Generation Level Editor

Reply
 
Thread Tools
Old 09-09-20, 13:01   #1
TRSMART
Student
 
TRSMART's Avatar
 
Join Date: Jun 2007
Location: Belgium
Posts: 130
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?
__________________
iT WORKS!!!
TRSMART is offline   Reply With Quote
Old 09-09-20, 14:00   #2
SSJ6Wolf
Archaeologist
 
SSJ6Wolf's Avatar
 
Join Date: Nov 2004
Location: Connecticut, US
Posts: 1,503
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 online now   Reply With Quote
Old 09-09-20, 14:05   #3
TR-Freak
Professor
 
TR-Freak's Avatar
 
Join Date: Jan 2008
Location: Deutschland
Posts: 4,961
Default

there is also the possibility to use a flipmap. place the trigger only in the flipmap and trigger the flipmap when needed.
__________________
"Your perception of good timing is...bad!"
TR-Freak is offline   Reply With Quote
Old 09-09-20, 14:14   #4
TRSMART
Student
 
TRSMART's Avatar
 
Join Date: Jun 2007
Location: Belgium
Posts: 130
Default

Ok thanks guys will have a look at it!
__________________
iT WORKS!!!
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 22:45.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.