Hello everybody,
i have a little problem with my malatina script.
1. First the bot run malatina cot, all ok
2. Second the bot run malatina survival, but i musst leave malatina cot before, but the bot doesn´t do this^^
In the survivalR5 i have change this...
</onLoad>
<!-- In the survival game -->
<!-- # 1 --><waypoint x="2519" z="2593" y="9">
player:target_NPC(joker);
sendMacro("ChoiceOption(2);");
</waypoint>
<!-- # 2 --><waypoint x="2546" z="2681" y="9"> </waypoint>
<!-- # 3 --><waypoint x="2586" z="2789" y="9"> </waypoint>
<!-- # 4 --><waypoint x="2606" z="2843" y="9">
...
...
...
pls help me ans sorry for my very bad english
Malatina leave script
Re: Malatina leave script
well survival just kicks you out when your finished, so you shouldn't need to leave that game.
Course of Terror though is a different story and rock already has code in CoT script to talk with malatina and leave the minigame.
Anyway this is what leaves CoT
Course of Terror though is a different story and rock already has code in CoT script to talk with malatina and leave the minigame.
Anyway this is what leaves CoT
Code: Select all
local Malatina = 113120
local IWantToLeave = RoMScript("TEXT(\"SC_111813_YU_42\")")
local Confirm = RoMScript("TEXT(\"SC_OKAY\")")
-- Exit COT if still in COT
if getZoneId() == 353 and player:target_NPC(Malatina) then
yrest(2000)
ChoiceOptionByName(IWantToLeave)
yrest(2000)
ChoiceOptionByName(Confirm)
waitForLoadingScreen()
yrest(3000)
end
Remember no matter you do in life to always have a little fun while you are at it
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
-
- Posts: 42
- Joined: Tue Feb 02, 2016 5:14 pm
Re: Malatina leave script
Thank very much, but i ´m a newbie^^
can you tell me pls the complete cot script with leave
i don´t now where i put this in the cot script.
Thank you
can you tell me pls the complete cot script with leave
i don´t now where i put this in the cot script.
Thank you
Re: Malatina leave script
well as I said
"rock already has code in CoT script to talk with malatina and leave the minigame"
you just need to change the option in the file to say to leave.
Look for this.
that means exit the minigame.
"rock already has code in CoT script to talk with malatina and leave the minigame"
you just need to change the option in the file to say to leave.
Look for this.
Code: Select all
ExitBeforeNextFile = true -- If you want it to exit game before loading next "waypointfilename".
Remember no matter you do in life to always have a little fun while you are at it
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Who is online
Users browsing this forum: No registered users and 0 guests