Jump to content

Home

Start A New Moudle Script


ace92

Recommended Posts

Posted

If i have a Start A New Moudle script and i've attached it to the "skip poroulge" brench in the dlg and saved it all what can be the possible things that made it not to work?

Posted

sorry it's not in the CODE window i've got a problem with massage publisher anyway this is the script:

 

void main ()

{

StartNewModule("008ebo");

}

Posted

Ok.

 

First thing I would do is make sure your script is actually firing. You can do this by adding a debug function like SendMessageToPC.

void main()
{
SendMessageToPC(GetFirstPC(), "Trying to start 008ebo module");
StartNewModule("008ebo");
}

Compile that as your script and then check your Feedback page to see if the message "Trying to start 008ebo module" is listed. If it is not, then the problem is with the .dlg file.

Posted
will it work although i attached to converstion?
Yes, the SendMessageToPC just writes text to your Feedback page, it doesn't interrupt the conversation (if that's what you meant).

and where will the "Trying to start 008ebo module" will show up?

check your Feedback page
;)

That's the same place that the whereami armband writes its info (screenshot)

Posted

Not necessarily. If there are problems with the module, the StartNewModule function will fail, but the SendMessageToPC should still write the text out.

Posted

Okay. Let's confirm the obvious:

1. The .nss has been successfully compiled to an .ncs file.

2. The .ncs is in your Override folder.

3. Your modified .dlg file is in the Override folder.

 

If all those are correct, perhaps you could post a screenshot of DLGEditor showing the dialog branch where you are trying to fire your script.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...