Search the Community
Showing results for tags 'bis_fnc_missionconversations'.
Found 1 result
-
Hello, I'm trying to learn the way A3 does conversations, so I took one of their missions and started looking all... well I could get a lot of it but I got lost at some point, with the BIS_fnc_missionConversations and BIS_fnc_kbTell. Well, I know that to use BIS_fnc_missionConversations I need the missionConversations.sqf and to use BIS_fnc_kbTell I need class CfgSentences in Description.ext. but I've seen that in the mission I'm looking there is any trace of cfgSentences, I thought maybe through a .xml, but I didn't see any mentioning or any localize about this. Another example, the function Bis_playAllConversations defined in functions.sqf, directly uses sentences without any trace of a localize or stringtable.xml... I thought from the start that maybe the link with a maybe existing sentence in stringtable.xml (he he, I already have this but maybe misspelled something) is the "Showcase_Helicopter" string, because in BIS_fnc_kbTell, the second argument is: "_this select 1 (Optional): STRING - container name (default: current mission ID)" So, if this is the link with a container in a stringtable.xml how I can do the same thing? Here is my try: (for now it's almost a copy just for learning from the original) missionConversations.sqf: #define BASE Elca_AirBase #define PILOT Elca_player case "INTRO": { sleep 1; ["01_Intro","CTRG_Pilot",nil,"side"] call bis_fnc_kbTell; }; my stringtable container: And in some other place, "["INTRO"] spawn BIS_fnc_missionConversations;" but it gives me error: Class "CTRG_Pilot" not found in Cfgsentences. Don't mind about the texts nor the translations, it's not yet finished and it's only for testing :D
-
- conversation
- script
-
(and 1 more)
Tagged with: