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

Thread Tools
Old 06-06-20, 12:58   #1
A_De's Avatar
Join Date: Jan 2012
Location: Beyond trf
Posts: 1,255
Angry Random object activating bug

Recently some objects started to activate themselves without any triggers, at random time. I checked the wad which appear to be okay, still didn't reach limits. The map seem to have no errors and compiles as it should. Guess this is a script error, but I really have no idea where to check for errors...

Edit: ok, the reason was an obsolete script condition about animation. At first the wad contained an item interaction animation, and a condition which activates an item. But then I decided not to use that item. Lara's animation was changed in wad but not in script. And there was a condition that checks the played animation. The new animation was a transition animation, which gave the impression that unwanted activating of items was random. And that TGROUP_USE_FOUND_ITEM_INDEX flag was the thing which picks the nearest item to activate. That buggy piece of script was with #INCLUDE, that's why it was hard to find error.

The following text is off-topic, but still about bugs, in case someone is interested:

Seems that continuous global triggers with only on-false triggergroup can conflict with plugin scripts. Such global triggers require the on-true performing trigger group to work without bugs.



Last edited by A_De; 09-06-20 at 15:08. Reason: solved
A_De is offline   Reply With Quote

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 12:45.

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