ArmA Stargate Mod Forums

  • February 08, 2012, 05:58:45 pm
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

Check out the FAQ

Pages: [1]   Go Down

Author Topic: In need of a Script  (Read 837 times)

Major Pain

  • Developer
  • ***
  • Ascension Level: 39
  • Offline Offline
  • Posts: 674
  • Uh... Didn't you hear me? I said Kree.
    • View Profile
In need of a Script
« on: December 03, 2009, 02:42:53 pm »

I need a script that will create rings and a stargate at precise locations on a addon automatically.  Does anyone know of one or can help me make it?  Something like getpos setpos but then how do I get them to find the right spot and initialize when the addon is used...? :confused:
Cheers

M.P.
Logged
A Serpent guard, a Horus guard, and a Setesh guard meet on a neutral planet. It is a tense moment. The Serpent guard's eyes glow. The Horus guard's beak glistens. The Setesh guard's nose drips...

Deepsmeg

  • DSF Productions
  • Administrator
  • *****
  • Ascension Level: 30
  • Offline Offline
  • Posts: 630
  • Good | <null> | <null>
    • View Profile
    • DSF Productions
Re: In need of a Script
« Reply #1 on: December 03, 2009, 03:23:47 pm »

I think that if you add a gate dynamically it will be off the grid.
Logged
http://tinyurl.com/dsf-faq <--- Updated 09/08/2011

Master Bra'tac beat Apophis in a game of chess. Using Mr Bun the Baker.

When Master Bra'tac fell from above and failed to learn to fly on the way down, Hannor Mir still became a street pizza.

FrostMan

  • DSF Productions
  • Administrator
  • *****
  • Ascension Level: 64
  • Offline Offline
  • Posts: 605
  • There's brilliant and then there's me
    • View Profile
Re: In need of a Script
« Reply #2 on: December 03, 2009, 07:25:19 pm »

true, unless you use the creategate script you'll only get the Stargate model; it won't be initialised.
Should be pretty easy though, use the modeltoworld (or worldtomodel) function to spawn the Stargate relative to the addons space.
Logged
ITER was originally an acronym for International Thermonuclear Experimental Reactor, but that title was dropped due to the negative popular connotation of "thermonuclear", especially when in conjunction with "experimental".
Pages: [1]   Go Up
 

The Stargate Modification is a scripted add-on for Operation Flashpoint, ArmA and ArmA II,
it has been unofficially created as a way for fans to explore the Stargate as it is portrayed in the shows.
This add-on is completely unofficial and though we have gone through great lengths to mimic functions as shown in the shows
it is down to our own interpretation and may not be true to what SCI FI Channel or Metro-Goldwyn-Mayer Studios Inc intended.

Stargate, Stargate SG-1, and other related names are Copyright Showtime Inc., SCI FI Channel and Metro-Goldwyn-Mayer Studios Inc.
Stargate, Stargate SG-1, Stargate Worlds and other related names are Trademarks of Metro-Goldwyn-Mayer Studios Inc.

All material on this website is for non-profit use and completely unofficial; please do not edit the contents of these files.