Ok your error is the line before

Code:
my.skill80 = door_ids // 1-500 this id matches t_trigger +1. so t_trigger[2] == my.skill80=3;

	my.skill10 = 0;


semi-colon missing
Code:
my.skill80 = door_ids; 

	my.skill10 = 0;




Next - Yes door_ids was place in my code above the action door but below the trigger action . Any var place out of a function is Global.

Here is the thing about my code - I wrote it so you can use many doors and many triggers.

However you seem to be focused on just one door/trigger.

You'll have to think ahead or hack after, but you should know if you are writing one door/trigger or many doors/triggers.

With just one, then the whole ids' isn't even needed.

Good luck
Mal

EDITS - there are errors in your code - REMOVE t_trigger = me;

More edits - you moved the active_tri to skill10 however you need to mod the door function. Look for a next post I'm going to edit your whole code..

Last edited by Malice; 10/20/15 23:40.