vedan Posted July 12, 2021 (edited) Hi, so I wanted to move a thing in all directions in an easy, comfortable way (and smooth). Since only three parameters can be used, I chose "TID", "distance" and "speed". I started with 6 scripts: north, east, south, west, up and down. I ended with 26 scripts for all possible combinations of those directions (I went clockwise): script 1 Move North (Y+) script 2 Move East (X+) script 3 Move South (Y-) script 4 Move West (X-) script 5 Move Up (Z+) script 6 Move Down (Z-) script 7 Move North-East (X+ Y+) script 8 Move South-East (X+ Y-) script 9 Move South-West (X- Y-) script 10 Move North-West (X- Y+) script 11 Move North and Up (Y+ Z+) script 12 Move East and Up (X+ Z+) script 13 Move South an Up (Y- Z+) script 14 Move West and Up (X- Z+) script 15 Move North and Down (Y+ Z-) script 16 Move East and Down (X+ Z-) script 17 Move South an Down (Y- Z-) script 18 Move West and Down (X- Z-) script 19 Move North-East and Up (X+ Y+ Z+) script 20 Move South-East and Up (X+ Y- Z+) script 21 Move South-West and Up (X- Y- Z+) script 22 Move North-West and Up (X- Y+ Z+) script 23 Move North-East and Down (X+ Y+ Z-) script 24 Move South-East and Down (X+ Y- Z-) script 25 Move South-West and Down (X- Y- Z-) script 26 Move North-West and Down (X- Y+ Z-) ...and an example script to check it out. Works like a charm :) As in most of my posts, I commented almost every line in the code explicitely, so everybody can understand what is going on. I had the problem of only being able using e.g. 16 dormant lights in combination with a sequence activator script, now I can use one single light and just move it along an object or a hallway. So if you had the issue of moving objects around in Doom, now you can. In any direction and speed you like (e.g. lasers, or imagine a megasphere flying further away each time a player wants to pick it up to lure him into a trap)^^ Have fun! move test.zip Edited July 12, 2021 by vedan 1 Quote Share this post Link to post
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.