I want to modify the script in the guide that lets you place an object onto a pedastal to open a remote door (page 83), So that the player can also trigger the event. I tried..
;Artificial Intelligence Script
; to use place a remote door and a pedastal or pressure plate
; right click on the pedastal and put the name of the door in the IFUSED field.
; set the AIMAIN of your pedastal to this script.
; place a crate or any object that can be picked up
; Now if you carry the object to the padastal then the door will open
; If you move it away the door will close again...
;Header
desc = open up
;Triggers
:state=0,anywithinzone=1:activateifused=1,state=1
:state=0,plrwithinzone=1:activateifused=1,state=1
:state=1,anywithinzone=0:activateifused=0,state=0
:state=1,plrwithinzone=0:activateifused=0,state=0
;End of Script
However this does not work.
I am completely new to scripting and I was wondering if there is a way of puting an OR clause in the conditions. So the door will trigger if an object is on the pedastal or if the player is. And of course the door is to close when neither are on the pedastal?
Any help is greatly appreciated.
Thank you in advance
Panther1965