Jump to content


Photo

Put a NPC in a area


  • Please log in to reply
4 replies to this topic

#1 Gerhalt

Gerhalt
  • Member
  • 2 posts

Posted 18 July 2003 - 04:49 AM

Well I'm a beginner...I created a NPC with dialogs, sounds etc...and I would like to put her in the druid's grove, in the Troll's cave.
If someone can explain me, to enter the coordinate of the map....(([x,y,1)] something like that...)
Thanks

#2 Seifer

Seifer

    The best Anti-Paladin weapon is a tin opener...!

  • Member
  • 4505 posts

Posted 18 July 2003 - 05:31 AM

You'll need to add the needed text to the area bcs file to do this. In game, highlight the section you want him to appear and press x. This will give you the X & Y co-ordinates you needed.

Then add this text
IF
Global("BobTheFisherman","ARxxxx",0)
THEN
RESPONSE #100
SetGlobal("BobTheFishermanExists","ARxxxx",1)
CreateCreature("J#Vondo",[X.Y],3)
END


In the square brackets, XY are the co-ordinates u noted down earlier.

Edited by Seifer, 18 July 2003 - 05:58 AM.

how come you always look so damn cool in every photo I see you in?!?


Speaking of modding, I listened to IER 3 yesterday, so you can have another quote for your signature: how come you sound so damn cool, as well as look it? It's unfair. Seriously.


Still a cyberjock, still hacking the matrix, still unsure of what that means.

TeamBG member - http://www.teambg.eu

#3 Kismet

Kismet

    Mild Thang

  • Member
  • 348 posts

Posted 18 July 2003 - 06:11 AM

You would want your Global and SetGlobal variable names to be the same, however. Otherwise you'd get an army of BobTheFisherman.

#4 Seifer

Seifer

    The best Anti-Paladin weapon is a tin opener...!

  • Member
  • 4505 posts

Posted 18 July 2003 - 10:42 AM

At least they'd never go hungery LOL

how come you always look so damn cool in every photo I see you in?!?


Speaking of modding, I listened to IER 3 yesterday, so you can have another quote for your signature: how come you sound so damn cool, as well as look it? It's unfair. Seriously.


Still a cyberjock, still hacking the matrix, still unsure of what that means.

TeamBG member - http://www.teambg.eu

#5 Gerhalt

Gerhalt
  • Member
  • 2 posts

Posted 19 July 2003 - 01:29 AM

Oki thanks!