OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: rupa on 30 Oct 2002, 23:24:47

Title: Moving trigger
Post by: rupa on 30 Oct 2002, 23:24:47
i need help with making movie trigger. I'd like to make that when someone comes on trigger will be automatic move to another place.
Please help!
Title: Re:Moving trigger
Post by: seanver on 30 Oct 2002, 23:27:43
To move a trigger just give it a name and move it wherever you want using the setpos command. So if you want to move it to a gamelogic's position, for example, put:

triggername setpos (getpos gamelogicsname)
Title: Re:Moving trigger
Post by: rupa on 31 Oct 2002, 12:21:02
Thanx for help. But i need help again. How to make a script that when u push button will AI go own way?