Hard Light Productions Forums
Modding, Mission Design, and Coding => The FRED Workshop => Topic started by: Colonol Dekker on August 24, 2007, 11:18:43 am
-
Using the
get-x-y-z from object,
Is it possible to use an arithmatic operator to add 200 to the z for instance to grab the co-ordanites of the player and make in effect add 200 to his position for use in creating a subspace effect or creating a ship etc....
?
Thanks guys, you are all great and brilliant :)
-
Well, you're giving for sure that the player always points at certain locations(same x, same y, higher z). What if it points to another location but the front? It won't work...Unless you use this feature in a cutscene.
-
It is possible to determine which the direction the player is pointed, Volition did it for "The Place of Chariots" May not be 100% accurate, but it can be done.
-
Well, you're giving for sure that the player always points at certain locations(same x, same y, higher z). What if it points to another location but the front? It won't work...Unless you use this feature in a cutscene.
I've often thought we need a "get-object-facing-x" SEXP. It probably wouldn't be too hard to deconstruct the set-object-facing SEXP and find out which values I needed either.
The only thing stopping me is that every time I think of it I keep getting an inkling that there is already a SEXP that does that.
-
It can be done with Scripting, I don't know. I don't remember SEXPs that fullfill Dekker's requirements for his idea...
-
make a "get-coord-from-player SEXP that gives back coordinates that are X meters in front or behind the player...
-
Using the
get-x-y-z from object,
Is it possible to use an arithmatic operator to add 200 to the z for instance to grab the co-ordanites of the player and make in effect add 200 to his position for use in creating a subspace effect or creating a ship etc....?
I've tried something similar for camera movements in cutscene (although the camera continusly appeared trebbeling)... worked fine and it would work fine for your prupose
-
I've tried something similar for camera movements in cutscene (although the camera continusly appeared trebbeling)... worked fine and it would work fine for your prupose
I've done the same and it works well. Good when you want to see a dogfight...