Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
Hi, I got some questions Answer them if you know plz
Is it possible to make a NPC defend?
Can I make it attack in different ways?
That was enemy NPC's, now to friendly
Can I make a NPC that fight on my side?
Can I make a NPC patrol?
Thanks for your help
------------------
Oh, and I have another question... This is not about NPC's but anyway..
Are there anyway to make something generate randomly? (like making a question game and a random question comes up, or something like that )
thanks for your help (again)
Quote
Originally posted by Ledorax:
** Can I make a NPC patrol?
**
This is done by creating one NPC to walk from point A to point B, then deleting that NPC and creating a new NPC to walk from B back to A. Create as many NPCs as needed for the patrol route. It sounds messy, but it is possible to do fairly seemlessly.
NPC1 Go to ( Reach Destination: Delete NPC1, Add NPC2 at (
NPC2 Go to (A) Reach Destination: Delete NPC2, Add NPC1 at (A)
When one is killed, they're both killed. Just remember to test it all.
As for your other questions, I think the answer is no, but I encourage trying to fake it.
myshkyn
------------------ "I'll give the fans just what they want, and nothing else at all."
i think you could by maybe running a timer or counter and every so many attacks or after time the npc makes etc is replaced by a same looking enemy that pulls another weapon. so you could be fighting a archer, and if you replace exactly where he is maybe he would just pull a sword and come a swinging? or you can do a thing where you have enemy archer etc, put a sphere around him and when you hit the sphere you trigger a close range attack weapon from the npc. im not sure on carrying the life left of the npc to the new one but you probably can. you might even be able to do the reverse to, say your fighting and you try running away from a npc, if hes not as quick maybe when your out of his sphere he goes into range mode and gets switched out, pulls a bow and shoots you in the back.
either way, make sure peoople see both weapons the enemy has, so when the enemy switches they dont scream "where the **** did that come from!?"
only in a pre scripted battle really, aka he could attack pre scripted enemies while you attack a specific enemy, this may work on bosses etc where he shouts "you take the leader, ill handle his goons." you really cant chain a npc to you though and then release him to fight just like you engaging enemy npc's.
------------------ (url="http://"http://www.redknightentertainment.com/rkewerks/htmlrke/rkeresourceMAIN.html")Coldstone Links For - Art, 3D, Animation, Audio/Video, Backup, Notes, Maintenance, Problem Solving, Tips and tricks.(/url) Morvera ner Morden
Originally posted by Ledorax: Are there anyway to make something generate randomly? (like making a question game and a random question comes up, or something like that )
Mr. Ledorax,
Certainly.
Through the use of globals and conditionals, you can make things appear as randomly as you want.
------------------ (url="http://"http://stark.evula.net/pogwalkthrough.htm")PoG Walkthrough and Compendium(/url) | (url="http://"http://stark.evula.net/plugins/dev_tools.htm")PoG Dev Tools(/url) | (url="http://"http://stark.evula.net/plugins/spells_expander.htm")Spells Expander(/url) (url="http://"http://stark.evula.net")Stark.evula.net(/url) | (url="http://"http://www.evula.net")EVula.net(/url) | (url="http://"http://mail.ambrosiasw.com/mailman/listinfo/coldstone_dev")Coldstone-dev mailing list(/url) | (url="http://"http://ucplugs.evula.net/pog.html")PoG Upcoming Plug-Ins Directory(/url)
ooOOOoOoooO cool thanks!!!!!!!!!!! how?
Originally posted by Ledorax: ooOOOoOoooO cool thanks!!!!!!!!!!!
Depends what you want to do.
Basically you will create a set of things that can happen at random. Then you decide how random you want them to be.
For instance, if you want something to occur 10% of the time, you would create a global to make a roll for randomness. You'd use the Change Global "random" setting to give the global a value between 0 and 9. Using a conditional to check its value, if the global receives the value of 9 then you will call up your event to launch whatever random thing you wish. If you have multiple random things that could happen, then you would use another global to select at random which thing will happen.
If you want this to occur at random times in your game then you would create a timer system that every X seconds it would roll the global for a random occurance.