Difference between revisions of "User:Ichinin"
Jump to navigation
Jump to search
m
no edit summary
imported>Ichinin m |
imported>Ichinin m |
||
Line 24: | Line 24: | ||
I Created 2 NPCs, draged them out into some cell and gave them one refence name each, NPC1Ref and NPC2Ref. (What a creative mind i got...) | I Created 2 NPCs, draged them out into some cell and gave them one refence name each, NPC1Ref and NPC2Ref. (What a creative mind i got...) | ||
Then i created a dummyquest with two topics "-Follow" and "-Stay". Then i went in on the "scripting" part of it and used | Then i created a dummyquest with two topics "-Follow" and "-Stay". Then i went in on the "scripting" part of it and used | ||
"AddScriptPackage MyFollowPlayerPackage" | "AddScriptPackage MyFollowPlayerPackage" | ||
"AddScriptPackage MyStandStillPackage" | "AddScriptPackage MyStandStillPackage" | ||
Under each topic, and did two of them and set a condition using "GetIsReference" with NPC1Ref and NPC2Ref respectively so you could assign these Packages to each NPC without the other getting the same one. | Under each topic, and did two of them and set a condition using "GetIsReference" with NPC1Ref and NPC2Ref respectively so you could assign these Packages to each NPC without the other getting the same one. | ||
Then i did a simple questscript that did Addtopic for the two topics i mentioned earlier (by using their ID). | Then i did a simple questscript that did Addtopic for the two topics i mentioned earlier (by using their ID). | ||
Voila.. i now have dialogue options for making a simple NPC follow or stay. | Voila.. i now have dialogue options for making a simple NPC follow or stay. | ||
Line 61: | Line 67: | ||
i also did a dummy item that i used Additem, Equip, Removeitem to make them "dress up" again, but i realised that you could to | i also did a dummy item that i used Additem, Equip, Removeitem to make them "dress up" again, but i realised that you could to | ||
NPC.Disable | NPC.Disable |