ItsMods

Full Version: spawning objects and getting your location
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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?
(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>");
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.
are you sure that isn't a texture? It should be a model
yeah probably, i tried it with a t5 model still didnt seem to work
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
what exactly you need help with ?
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?