ItsMods
Help spawning objects and getting your location - Printable Version

+- ItsMods (https://www.itsmods.com)
+-- Forum: Archive (https://www.itsmods.com/Forum-Archive.html)
+--- Forum: Archive (https://www.itsmods.com/Forum-Archive--64.html)
+--- Thread: Help spawning objects and getting your location (/Thread-Help-spawning-objects-and-getting-your-location.html)



spawning objects and getting your location - koil - 08-08-2011

whats the command to bring up your co-ordinates? i cant remember..


also, say i want to spawn an object, how do i do it?


RE: spawning objects and getting your location - Nukem - 08-08-2011

(08-08-2011, 01:11)koil Wrote: whats the command to bring up your co-ordinates? i cant remember..


also, say i want to spawn an object, how do i do it?

self iPrintLnBold(self.origin);

object = spawn("script_model", /*origin ->*/(0,0,0));
object setModel("<model>");


RE: spawning objects and getting your location - koil - 08-08-2011

so it would look like this


object = spawn("script_model", (102.3,-400.4,500.1));
object setModel("$railing_blah_c");


or something like that, right?.. also how does the angles thing work? so it knows which way to face sort of thing, or do coords do that.


RE: spawning objects and getting your location - Pozzuh - 08-08-2011

are you sure that isn't a texture? It should be a model


RE: spawning objects and getting your location - koil - 08-08-2011

yeah probably, i tried it with a t5 model still didnt seem to work


RE: spawning objects and getting your location - koil - 08-09-2011

still looking for help on this, if anyone has done this before i need your help Smile will + rep + thanks for little work.


STEAM: crymorefanz


RE: spawning objects and getting your location - OrangePL - 08-09-2011

what exactly you need help with ?


RE: spawning objects and getting your location - koil - 08-09-2011

spawning an object in a specific location on the right angle as well.. do i need to precache these models or something for them to work?

what are the model names in IWD do they have a set name or something like model_blahblah

etc?