Bully-Board
Bully Modding Section => Modding Questions/Help => Modding Questions/Help Archives => Topic started by: embas10 on April 26, 2014, 09:27:41 AM
-
is there anyone now how to do this?
i wanted to make johnny and darby, to doing they special action like johnny tornado kick, and darby uppercut, with they normal boss action!
so how to active and disabling the script during the game?
ImportScript("2_B")??????
?????? mean what gone i put again to disable the script! ok please help me anyone ! :(
-
ForceMissionStart("MissionName")
-
ForceMissionStart("MissionName")
So the mean
ImportScript("2_B") = to enable the Mission? and
ForceMissionStart("2_B") = to disable the Mission?
-
Idk for sure but look for a terminate script function. I thought I seen 1 b4. I'll help more when on pc (phone now)
-
No no no.
ForceMissionStart("MissionName") - start script.
Disabling one isn't been found yet but the function for it is in the game some where.
-
You can easily stop the script. In the main function, for your repeat loop it should look something like...
repeat
--stuff
Wait(0)
until not Alive
so instead of "until not Alive" do "until Script1Terminated"
Script1Terminated would be a variable that can equal true or false. In the setup of your script, assign it to false. Script1Terminated = false. then when you want to end the script, make it equal true. (Script1Terminated = true)
name it Script2Terminated, Script3Terminated, and so forth. or whatever you want to name it. dosent really matter.
-
That's only for when you want a script to run over and over because it has conditions but what if he wants to stop a script before some commands are running?
For example he has a function running with some of the code running instantly and some run after a Wait command.
So how do you disable the function then?
I think that is what he wants to do.
-
^ Good point, I have no idea.