I have the pc positioned on a bed in a module and I want them to sleep for part of the conversation so
void main()
{
ActionPauseConversation();
SetDialogPlaceableCamera(26);
AssignCommand(GetFirstPC(),ActionPlayAnimation(26) );//dead animation
NoClicksFor(10.0);
ActionResumeConversation();
}
What i wanted to happen was for the computer to show the pc sleeping for 10 seconds then continue the conversation yet it just skips to the conversation.
This script is attached to the first node of the conv.
You could make use of the DelayCommand function.
void main()
{
ActionPauseConversation();
SetDialogPlaceableCamera(26);
AssignCommand(GetFirstPC(),ActionPlayAnimation(26) ); //Plays Dead animation
DelayCommand(10.0, ActionResumeConversation()); //Delays this command for 10 seconds and then does the business of resuming
}
That might work for you.