Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help spawning objects and getting your location
#1
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?
Reply

#2
(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>");
[Image: b_560_95_1.png]
Reply

#3
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.
Reply

#4
are you sure that isn't a texture? It should be a model
[Image: MaEIQ.png]
Reply

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

#6
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
Reply

#7
what exactly you need help with ?
[Image: lQDUjba.jpg]
Reply

#8
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?
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  [Request] Objects name codes j~-FYANB- 6 4,377 11-15-2013, 17:14
Last Post: j~-FYANB-
  Help Spawning carepackage helicopter -- DidUknowiPwn 4 4,066 11-08-2013, 08:18
Last Post: DidUknowiPwn
  Spawning Solid Models akillj 5 4,407 09-08-2013, 00:07
Last Post: akillj
  Chicken spawning possible? akillj 8 4,947 09-07-2013, 06:22
Last Post: ScHmIdTy56789
  [Request] ForgeMOD - Spawning Crates (MW3) Destroyer1834 8 5,981 11-23-2012, 14:56
Last Post: 99IRock
  Help Teleporting via Flags/Origin/Location yokai134 2 2,961 09-06-2012, 12:19
Last Post: yokai134
  placable objects for infected ryan2pro 4 2,886 07-02-2012, 15:40
Last Post: Yamato
  [Release] Script AI Spawning! ingame d0h! 19 20,112 05-18-2012, 10:17
Last Post: Cyborgking
  Distance(self.origin, location) not working? xplosiff 3 3,278 01-05-2012, 17:39
Last Post: xplosiff
  [Tutorial] Location Selection Yamato 10 7,152 10-22-2011, 16:33
Last Post: Yamato

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.