Fuzor Support Forum
  [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
How to Pop up a Dialog Box when the Avatar Moves Towards an object  XML
Forum Index » Fuzor: How to
Author Message
Kalloc_Amy

Fuzor User

Joined: 21/12/2018 02:08:45
Messages: 54
Offline

How to Pop up a Dialog Box when the Avatar Moves Towards an object


Objective 1 : Create a custom dialog

Step 1: Open Menu and click “Event Trigger”


Step 2: Click “Dialog Editor”


Step 3: For the dialog type, select “Dialog Basic”and enter the text you want to show in the dialog box*


*Note: There are five dialog types.


1) Dialog Basic


2) Dialog Multiple Selection


3) Advanced Multi-Selection


4) Dialog Slider


5) Dialog Image


Click to change the Font, Font Style and Font Size


Choose the Font, Font Style and Size, then click “OK”


To change the text color, click


Choose the color you want, click “OK”


Step 4: Click “Create” to create the dialog and save the changes


Note: The title of the dialog will be shown in the following position


To edit the dialog content, click the dialog title


Click “Save” to save the changes and the previous settings will be
replaced.


If you want to delete the dialog, click


To preview the dialog, click “Preview”


To create more dialog
Method 1:
Step 1: Click “Cancel” (please make sure you saved the previous dialog)


Step 2: Click the drop down box to choose the dialog type you want.



Method 2:

Step 1: Click “X” to close the Editor (please make sure you save the previous dialog box)
and click “Dialog Editor” to open it again


Step 2: Click “Create” after editing a dialog


Note: To edit the Dialog Box,

a. Adjust the size of the “Dialog Box”
Drag the square at the right bottom to adjust the “Dialog box” size


b. Change the position of “Dialog box”
Drag the “ Dialog Box”to move its position



Dialog Editor







Objective 2 : Pop Up the Dialog when the avatar moves towards the chiller

Step 1: Click “Create” to create a new trigger


Step 2: Click “Trigger_Entry 01”.

Note: You can double click the trigger name to rename it


Step 3: Click the drop down box button and select “Object Proximity” as Event Type





Step 4: For Object #1, click the drop down box and select “Avatar”
Note:
a. The use of “Avatar”
If the Avatar is set as Object #1, when the distance between the avatar and Object #2 matches
the event condition requirement, the action(s) will happen.





b. The use of “View Camera”

If the Camera is set as Object #1, when the distance between the camera and Object #2
matches the event condition requirement, the action(s) will happen.



Step 5: For Object #2, click the target object, then click “Add Selected” to add the selected object as Object #2




An object ID will be automatically assigned and shown in the drop down box.


Step 6: For the radius, enter a number


Note: The meaning of radius is the distance between Object#1 and Object#2



Step 7: For the Proximity Type, click the drop down box and click “ Enter the Range”


Note: For Object Proximity,

When the distance between the Object#1 and Object#2 fulfills the event condition
requirement, the action(s) will happen


For Proximity Type,

> “Enter the Range”: when Object #1 enters the range (radius) of Object #2 or vice
versa, the action(s) will be triggered




> “Leave the Range”: when Object #1 leaves the range (radius) of Object #2 or
vice versa, the action(s) will be triggered



Step 8: For the Action Type, click the drop down box and select “Toggle Custom Dialog”


Step 9: For the Custom Dialog, click the drop down box and choose the dialog you want (the name of the dialog in the drop down box depends on the name of the dialog in the Dialog Editor)





Step 10: For the Dialog State, click the drop down box and select “True”


Note:
For the Dialog State:
> True: Show the dialog
> False: Hide the dialog
>Toggle: Show and hide the dialog in turn



Step 11: Click the Red circle to enable the trigger
> When the circle is red, the event trigger is disabled
> When the circle is green, the event trigger is enabled






This message was edited 3 times. Last update was at 21/06/2019 04:20:16

 
Forum Index » Fuzor: How to
Go to: