Det. Bart Lasiter Posted July 14, 2005 Share Posted July 14, 2005 Is it possible to add locations together, for instance: (vVec, r) + (vVec2, r2), or lLoc + lLoc2? Link to comment Share on other sites More sharing options...
stoffe Posted July 14, 2005 Share Posted July 14, 2005 Originally posted by jmac7142 Is it possible to add locations together, for instance: (vVec, r) + (vVec2, r2), or lLoc + lLoc2? You can add vectors together, but I don't think you can add locations (don't quote me on that, it's just a vague memory). Use GetPositionFromLocation() to extract the vector from a location, and GetFacingFromLocation() to get the rotation part, then you can use maths on them as usual. Link to comment Share on other sites More sharing options...
The Source Posted July 14, 2005 Share Posted July 14, 2005 If you are talking about Module 1 to Module 2, yes you can attatch two levels together. It deals with invisible wavepoints, which are edited in the .git file under wavepoints. Link to comment Share on other sites More sharing options...
Det. Bart Lasiter Posted July 14, 2005 Author Share Posted July 14, 2005 If you are talking about Module 1 to Module 2, yes you can attatch two levels together. It deals with invisible wavepoints, which are edited in the .git file under wavepoints. No, I was talking about trying to get all the locations around an object at 5m, 10m, and 15m for a mod I'm working on. Link to comment Share on other sites More sharing options...
Darth333 Posted July 14, 2005 Share Posted July 14, 2005 Perhaps you could use the following functions (extract from nwscript): [size=1] object GetFirstObjectInShape(int nShape, float fSize, location lTarget, int bLineOfSight=FALSE, int nObjectFilter=OBJECT_TYPE_CREATURE, vector vOrigin=[0.0,0.0,0.0]); object GetNextObjectInShape(int nShape, float fSize, location lTarget, int bLineOfSight=FALSE, int nObjectFilter=OBJECT_TYPE_CREATURE, vector vOrigin=[0.0,0.0,0.0]); [/size] Link to comment Share on other sites More sharing options...
Det. Bart Lasiter Posted July 15, 2005 Author Share Posted July 15, 2005 Perhaps you could use the following functions (extract from nwscript): code:-------------------------------------------------------------------------------- object GetFirstObjectInShape(int nShape, float fSize, location lTarget, int bLineOfSight=FALSE, int nObjectFilter=OBJECT_TYPE_CREATURE, vector vOrigin=[0.0,0.0,0.0]); object GetNextObjectInShape(int nShape, float fSize, location lTarget, int bLineOfSight=FALSE, int nObjectFilter=OBJECT_TYPE_CREATURE, vector vOrigin=[0.0,0.0,0.0]);-------------------------------------------------------------------------------- No, I need different levels to make explosions occur in a pattern kind of like a spiral, for instance: * * * * * * * * * * * * * * * * where a "*" is an explosion and they're in a 4x4 square and a 2x2 square inside of that. Link to comment Share on other sites More sharing options...
Soogz Posted September 17, 2005 Share Posted September 17, 2005 Is this compatible with the USM? Link to comment Share on other sites More sharing options...
Det. Bart Lasiter Posted September 17, 2005 Author Share Posted September 17, 2005 It's not a model. Link to comment Share on other sites More sharing options...
T7nowhere Posted September 17, 2005 Share Posted September 17, 2005 Is this compatible with the USM? Thats an odd question, jmac7142 is working on a mod and needs help with a part of it, there was no presentation of what was being worked on. Please stay on topic Darth Sooges, if you can't help you know you don't have to post. Link to comment Share on other sites More sharing options...
Soogz Posted September 17, 2005 Share Posted September 17, 2005 ahhh my bad. I clicked on a link to this post so, it kind of went on from there. Sorry about that. Link to comment Share on other sites More sharing options...
Jadolerr Posted January 27, 2006 Share Posted January 27, 2006 Hmm I was at starwarsknights.com and they had a link that said discuss mod here, and it lead me here. The USM mod on their featured mods page. IT may need to be redirected to the correct thread. Link to comment Share on other sites More sharing options...
Darth333 Posted January 27, 2006 Share Posted January 27, 2006 oops, I'll get the link fixed later. That was due to a server problem back in July: we lost several threads and the url has changed since it was posted on our website. You will find the USM thread here:http://www.lucasforums.com/showthread.php?t=149509 EDIT: I went ahead and changed it already. I was on SWK "playing" anyways ~ ChAiNz.2da Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.