brwarner Posted January 5, 2006 Share Posted January 5, 2006 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. Link to comment Share on other sites More sharing options...
Pavlos Posted January 5, 2006 Share Posted January 5, 2006 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 } [/Code] That might work for you. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.