Quote
Originally posted by Rubber Ducky:
I'm placing NPCs in a PoG map according to the tutorial and they appear in the NPCs folder of the plug-in, and the load call appears in the Defs folder inside the Events folder, but nobody shows up for the party when I play the plug-in.
Incidentally, which plug-in tutorial are you using?
Also, plug-in load calls do not appear in the Events->Defs folder, only events do. My guess is you have the following:
- Created an NPC
- Created an event to load the NPC
But, have you created the actual plug-in load call that calls the event to load the NPC when you enter the area that should set things in motion?
If not then this needs to be done. Go into the Project->Game Plugin->Plugin load calls menu selection. This will open up a small dialog box with 2 selections: Location and Event.
The drop down box under Location lists all of the areas in PoG plus any locations you have created yourself. You can add areas to this list by editing your "Plugin Data.txt" file in your plug-ins folder, but we can get to that later if necessary. Anyways, select the area that you want to have your event called from.
The drop down box under Event lists all of the events in your Events->Defs directory. In other words, every event that you have created. Select the event that you want to be launched when you enter the location that you selected in the other box.
When you have both the location and event that you want selected click on the "+" button and they will be added to the box below.
Compile the plug-in and make sure it is in your Plugins directory(I've many times compiled onto the desktop and launched PoG running an older version, heh).
Go to the area that you specified and the event should launch. If you can't find your NPC then you can use debuggers to see if the event is even being called. Just place a dialog into the event that loads the NPC that says something like, "Event xxx is being executed." Then when you enter that area if you see the box then you know your event is being run, and the problem is something else(no picture for the NPC, you gave him the wrong coordinates, etc).
Good luck.
------------------
(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)