Thank you again @AFRLme!
I don't know what got me so confused: Even after you explained the differences between Change Scene
, Change to Scene of a Character
and Change Character
, something didn't make sense to me. Now, I realize it was all my misunderstanding..
Regarding the lua answer (apparently not necessary for basic adventure-making anymore, since the 3 above actions are all one usually needs).
game.CurrentCharacter = Characters["Tom"] -- swap current character to Tom.
Your code snipped works indeed and after testing it, I can report that it also changes the scene to the one where the "Tom" character is... currently parked. Eventually it's the equivalent of the Change Character
action part (without the choice of the transition)
A general observation is that: Apparently the active character has to always be "in the scene". If he is not, the active scene automatically changes to reflect his location.I'm sure though, that I read someplace that there is provision for sequences where the camera follows NPCs in other scenes - while the "user-player" stays back in the original one. But I won't press this now - enough for one day
For the sake of completeness (ie "so that others, totally clueless like myself may benefit from my stupidity"), I'm posting my original solution to the problem written in lua (based on your tip).
Hopefully somebody will find some use in it...
The following is a rather generic way of teleporting any character in any scene, and setting him as the user-controlled-character.
-- (take Character0 and send him to theSuperMarket scene)
-- (place him at the position of the objStartPoint Object.)
game.CurrentCharacter = Characters["Character0"]
-- (set him as the user-controlled-character)
I keep forgetting that the http://wiki.visionaire-tracker.net/wiki/Data_Structure
" target="_blank" title="http://wiki.visionaire-tracker.net/wiki/Data_Structure
">data structures section in the wiki, is full of useful stuff!