Here's what I've started. I've created a script that runs when you start a new game. This opens a menu with 3 choices labeled "robot" "cyborg" and "android." Robot is hero 0 inside custom.exe so he is assumed to be the default hero.
When you select one of the choices, one of the following 3 scripts should run:
Code: Select all
plotscript, addrobot, begin
add hero (robot)
swap by position (0,1)
delete hero (robot)
close menu (1)
end
Code: Select all
plotscript, addcyborg, begin
add hero (cyborg)
swap by position (0,1)
delete hero (robot)
close menu (1)
end
Code: Select all
plotscript, addandroid, begin
add hero (android)
swap by position (0,1)
delete hero (robot)
close menu (1)
end
The "addrobot" script is redundant since technically robot is already part of the party, but I added it here for purposes of demonstration.
One thing that is a problem is that I don't know how to define my heros is constants. How do I do that?
Beyond that, will this actually work? Or is there an easier way to do this?
Thanks in advance!