LoadVScene

Definition

LoadVScene(string VSceneName)

Description

This function loads the VScene VSceneName. You can view and copy the desired VScene name through the Script Utility dialog (Tools > Script Editor > Tools > Script Utility).

Parameters

VSceneName
Specifies the VScene name.

Example

function OnTriggerEnter(otherActorName)
    LoadVScene("Sample17Level1")
end

function OnTriggerStay(otherActorName)

end

function OnTriggerExit(otherActorName)

end
Assume that the above script is attached to a trigger named “trigger1”. Whenever the main character or a prefab instance that has dynamic physics is entered into this trigger, the VScene  “Sample17Level1” will be loaded.
adminLoadVScene