Thank you, that helped me out :) Unfortuantely I've encountered a problem with the first script stoffe wrote for me. I changed it slightly, mainly the first few lines to this:
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// Main function - check for the presence of items.
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
int StartingConditional() {
// ST: Example - return true and allow dialog node if the player has the needed items.
return ST_HasItem("g_w_sbrcrstl42") && ST_HasItem("g_w_sbrcrstl43") && ST_HasItem("g_w_sbrcrstl18", 5) && ST_HasItem("g_i_gizkapois001");
}
The rest of the script is exactly how stoffe wrote it. Now, the problem is that it doesn't return true and the node doesn't fire, but another node for which I made a similiar script by modifying this one (which uses || instead of &&) works. Am I missing something?
Zgred_2, we have had to delete two 'bump' posts from you now, please do not bump your topics here. Forum Rules (
http://www.lucasforums.com/showthread.php?t=169078). Sorry. Perhaps use the PM system to ask stoffe about looking at this. Thanks. -RH