≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
dialogue - get lines of text from text file
Posted by:
(you are not logged in)
Enter the missing letter in: "Internationa?"
(you are not logged in)
Text:
[quote][b][/b] wrote: I tried to create a simple plugin to create dialogs in the game. I attach the scene file and the JS plugin. It is not based on external files. [img]https://s26.postimg.org/m04qvhr21/Senza_titolo1.jpg[/img] [img]https://s26.postimg.org/o5z1pzuih/Senza_titolo2.jpg[/img] It's easy to use. First of all, a global variable named 'globalvaranswer' is to be created, Then the commands I think are intuitive. [b]Question[/b] = enter the question to be displayed. [b]Answer 1-2-3[/b] = are the three answers to be displayed. [b]Showquestion[/b] = assign the object '2D Overlay1' to make the text appear. [b]Showanswer 1-2-3[/b] = as above assign the object '2D Overlay1' to make the text appear. [b]Varglobal[/b] = assign the '2D overlay1' object that tests the global variable. [b]Corectanswer[/b] = enter the value 1 or 2 or 3 according to the given answer, the right answer. [b]Newaction[/b] = if the answer is correct starts the new action. [b]Download[/b] [url]https://www.dropbox.com/s/9r089glkrhvd1aj/Questions.zip?dl=0[/url] [b]PS: translation through Google.[/b][/quote]
Possible Codes
Feature
Code
Link
[url] www.example.com [/url]
Bold
[b]bold text[/b]
Image
[img]http://www.example.com/image.jpg[/img]
Quote
[quote]quoted text[/quote]
Code
[code]source code[/code]
Emoticons
Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact