Hi there,
I am trying to get a script to work and could use some ideas and help.
Maybe by getting this to work it can help others use something cool as well
So, the idea is to grab an item, place it on the right location, and it triggers door open. Different from 'any'- must be specific.
I had help to design this for multiple items, but the concept applies whether it is one or more.
Thus far:
Script for getting the item:
;Triggers
state=0:state=1
:state=1,plrdistwithin=25,plrusingaction=1:setvar=bb1 1,state=2
:state=2:destroy,state=3
;End of Script
The goal-
walk up to item press enter to pick it up and it disappears.
This doesn't work- not sure why.
Next thing:
placing item on location (pickup entity, place on correct entity):
;Triggers
state=0:state=1
:state=1,plrdistwithin=25,plrusingaction=1:setvar=bb1 2,activateifused=1,state=2
;End of Script
Again, since the first script isn't working as expected, neither does this stage
Then, there is a trigger zone placed in the level.
;Triggers
:state=0:dimvar=bp,setvar=bp 0
:state=0:dimvar=bb1,setvar=bb1 0,state=1
:state=1,varequal=bb1 2:activateifused,state=2
;End of Script
The trigger zone gets ifused name of remote door which should open if item is placed on correct item.
So, any thoughts on how to set this up correctly and to make changes that could work, please help.
Thanks!