msg ("Hello there " + player.name)
new MsgScript(new Expression<string>("\"Hello there \" + player.name"))
Will the specification at least document the exact behavior of such code as
msg <first $func1(#var1#)$, then $func2(#var2#)$>
or the equivalent?
msg ("first " + func1(var1) + " then " + func2(var2))
And again, what sorts of complex things are you doing in your example games for Quest 5?
foreach (obj, GetObjectsInScope("Visible")) {
msg ("You can see: " + obj.name)
}
if ((a and b) or (c and d) or (somenumber * 3 > somethingelse)) { .... }
foreach (obj, somelist + anotherlist + SomeFunctionReturningAList(AnotherFunction(blah + foo))) { .... }
MyCustomFunction(a, b, c+d)
player.parent = GetRandomRoom(GetNearbyRooms(player.parent))
someobject.take => {
msg ("Blah blah")
someobject.counter = someobject.counter + someotherobject.someproperty
}
foreach (obj, GetObjectsInScope("Visible")) {
msg ("You can see: " + obj.name)
}
if ((a and b) or (c and d) or (somenumber * 3 > somethingelse)) { .... }
foreach (obj, somelist + anotherlist + SomeFunctionReturningAList(AnotherFunction(blah + foo))) { .... }
MyCustomFunction(a, b, c+d)
player.parent = GetRandomRoom(GetNearbyRooms(player.parent))
someobject.take => {
msg ("Blah blah")
someobject.counter = someobject.counter + someotherobject.someproperty
}
<asl version="500">
<include ref="English.aslx"/>
<include ref="Core.aslx"/>
<game name="Test ASLX Game"/>
<function name="myfunction" parameters="something, blah" type="string">
return (something + blah)
</function>
<object name="lounge">
<start/>
<object name="sofa">
<prefix>a</prefix>
<look>Just a sofa.</look>
<take type="script">
msg ("Test: " + myfunction("one", "two"))
</take>
</object>
<exit name="east" to="hall"/>
</object>
<object name="hall">
<exit name="east" to="kitchen"/>
<exit name="west" to="lounge"/>
</object>
<object name="kitchen">
<object name="sink">
<look>Just an ordinary sink</look>
</object>
<exit name="west" to="hall"/>
</object>
</asl>
What exactly does no visual editor mean? Am I going to have to learn C#? Also, what does no-support-for-existing-Quest-games mean? Does it mean a game created with Quest 4.1.1. won't work with 5.0?"I'll set up a dedicated Quest 5.0 forum in the near future and hopefully there will be a very early, hand-coding-only, no-visual-editor, no-support-for-existing-Quest-games version available early in the new year."