Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
RequestDialog
Syntax
C++
virtual int RequestDialog(IFunctionHandler * pH);
Parameters 
Description 
entity 
entity id to start dialog with 
roles 
string with roles overrides 
bOnce 
true/false if dialog should be played just once and automatically end after that 
bUseTwins 
true/false if twis are requested
 

Syntax: Human.RequestDialog(entity, roles, bOnce) 

Requests dialog with this human. roles - meta roles override for source soul Dialog does not start immediately but it only notifies targeted entity that somebody wants to interact with it. If target entity does not respond in proper time the request is canceled automatically. Returns true in case request was successfully accepted by dialog manager. In some cases it can return false which means that dialog was refused.

Copyright (c) 2012. All rights reserved.