View previous topic :: View next topic |
Author |
Message |
Camdog
Joined: 08 Aug 2003 Posts: 606
|
Posted: Mon Nov 03, 2003 9:11 pm Post subject: Help with the NPC copy count command |
|
|
I'm having some trouble using the NPC copy count command. Basically, it doesn't seem to work for me, even when I use it for relatively simple commands. For instance, when I use it with a show value command, a 0 pops up if there are no NPC 5s hanging around, but no value is displayed if I up that count. The command is simply...
show value(NPC copy count(5))
What gives? What am I doing wrong? |
|
Back to top |
|
|
TMC On the Verge of Insanity
Joined: 05 Apr 2003 Posts: 3240 Location: Matakana
|
Posted: Mon Nov 03, 2003 9:19 pm Post subject: |
|
|
If you up that amount? As in you run the 'show value' command again, or you create a NPC of id 5? _________________ "It is so great it is insanely great." |
|
Back to top |
|
|
Minnek Conjurer
Joined: 03 Jun 2003 Posts: 430 Location: Somewhere
|
Posted: Mon Nov 03, 2003 9:43 pm Post subject: |
|
|
Okay, here's what I can suggest, though I'm not sure it'll fix the problem... try having a variable be set equal to the npc copy count, have it wait(1), then run the show value with the variable as what is passed.
Code: | set variable(NPCsCounted, npccopycount(5))
wait(1)
show value(NPCsCounted) |
hope that helps. _________________ * SDHawk has joined #Minnek
SDHawk> AAAAAAAAAAAAAUUUUUUUUUGH
* SDHawk has left #Minnek (Leaving) |
|
Back to top |
|
|
Bob the Hamster OHRRPGCE Developer
Joined: 22 Feb 2003 Posts: 2526 Location: Hamster Republic (Southern California Enclave)
|
Posted: Mon Nov 03, 2003 10:07 pm Post subject: Re: Help with the NPC copy count command |
|
|
Camdog wrote: | I'm having some trouble using the NPC copy count command. Basically, it doesn't seem to work for me, even when I use it for relatively simple commands. For instance, when I use it with a show value command, a 0 pops up if there are no NPC 5s hanging around, but no value is displayed if I up that count. The command is simply...
show value(NPC copy count(5))
What gives? What am I doing wrong? |
So when there are no copies of NPC 5,
Code: | show value(NPC copy count(5)) |
displays a zero... but when there is one copy of NPC 5 on the map it displays nothing? Or do you mean it displays a zero, which doesn't look any different from the zero you had on the screen from the previous "show value", so it looks like it has displayed nothing?
You may have found a bug of some kind, but I know the "NPC copy count" command works, because I have tested it. (It just might not work "right" or it might not work "always" ;) |
|
Back to top |
|
|
LeRoy_Leo Project manager Class S Minstrel
Joined: 24 Sep 2003 Posts: 2683 Location: The dead-center of your brain!
|
Posted: Tue Nov 04, 2003 7:09 am Post subject: |
|
|
Funny... I have seemed to accidentally copy the NPCs in the Fortress of one of my games (TTLQuest) again, it was on accident. I have no clue how that could have happened, I had a HELL of a time cleaning the place up aftert that, and I am still trying to figure it out... That is how they copied like that. I generally don't have an answer for you, my friend, but even if I did, it would already have been taken by James (the all knowing one) or Minnek...
Even so, I have a similar problem that is just the opposite, mine copy when I don't want em' to! *GULP* _________________ Planning Project Blood Summons, an MMORPG which will incinerate all of the others with it's sheer brilliance...
---msw188 ---
"Seriously James, you keep rolling out the awesome like gingerbread men on a horror-movie assembly line. " |
|
Back to top |
|
|
Flamer The last guy on earth...
Joined: 04 Feb 2003 Posts: 725 Location: New Zealand (newly discovered)
|
Posted: Tue Nov 04, 2003 10:26 pm Post subject: |
|
|
lol, LeRoy he's talking about dislaying how many copies of the same npc is on the map, not copying as in transferring npc... _________________ If we were a pack of dogs, IM would be a grand Hound, CN would be a very ficious little pitball, and Giz...well, it doesn't matter breed he is, he'd still be a bitch
(no offense to anyone that was mentioned) |
|
Back to top |
|
|
Uncommon His legend will never die
Joined: 10 Mar 2003 Posts: 2503
|
Posted: Wed Nov 05, 2003 1:24 pm Post subject: |
|
|
Camdog wrote: | ...no value is displayed if I up that count... |
(emphasis mine)
Yes, he's obviously not having trouble copying them. |
|
Back to top |
|
|
LeRoy_Leo Project manager Class S Minstrel
Joined: 24 Sep 2003 Posts: 2683 Location: The dead-center of your brain!
|
Posted: Wed Nov 05, 2003 3:07 pm Post subject: |
|
|
Oh... Well, isnt that imbarrassing... I see now, but I cant help. I coulda helped with what I thought was the problem, but not this. I just aint good enough at PlotScripting yet. _________________ Planning Project Blood Summons, an MMORPG which will incinerate all of the others with it's sheer brilliance...
---msw188 ---
"Seriously James, you keep rolling out the awesome like gingerbread men on a horror-movie assembly line. " |
|
Back to top |
|
|
Flamer The last guy on earth...
Joined: 04 Feb 2003 Posts: 725 Location: New Zealand (newly discovered)
|
Posted: Wed Nov 05, 2003 10:19 pm Post subject: |
|
|
it's all good leroy, at least you tried.
plotscripting is easy to understand, one word "practice"
took me a month of practice to finally understand all commands in the dictionary, before i started using a combination (advanced) plotscripting. _________________ If we were a pack of dogs, IM would be a grand Hound, CN would be a very ficious little pitball, and Giz...well, it doesn't matter breed he is, he'd still be a bitch
(no offense to anyone that was mentioned) |
|
Back to top |
|
|
|