diffrence between reloadmap and restart?
Moderator: Moderators
diffrence between reloadmap and restart?
Well guys, whats the diffrence between reloadmap and restart? There must be at least one lil diffrence because few of my maps dont work properly after restart.... but reloadmap fix everything..?!
-
$oldier Of Ra
- Lieutenant Colonel
- Posts: 404
- Joined: Sun Oct 16, 2005 7:16 pm
- Location: Belgium
- Contact:
Doesn't the name give it away? Reloadmap => reloads everything including bsp whereas, restart => restarts the scripts & respawns everybody (you could say, refreshes the map)
Our official website: http://www.mohaairborne.co.cc
(Still accessible through http://mohaaclantb.tk and http://users.skynet.be/mohaaclantb/)
For all your bot needs!!!!
$oldier Of Ra.
(Still accessible through http://mohaaclantb.tk and http://users.skynet.be/mohaaclantb/)
For all your bot needs!!!!
$oldier Of Ra.
For some reasons not all scripts start!! I wonder why, its seems impossible but i cant play mission again without reloading whole bsp file... its a bit unfair because one computer load map faster than second, so players cant start in one moment...$oldier Of Ra wrote:restarts the scripts & respawns everybody (you could say, refreshes the map)
-
$oldier Of Ra
- Lieutenant Colonel
- Posts: 404
- Joined: Sun Oct 16, 2005 7:16 pm
- Location: Belgium
- Contact:
Hmm, odd, maybe singleplayer works differently on this matter. Although, it shouldn't.
Our official website: http://www.mohaairborne.co.cc
(Still accessible through http://mohaaclantb.tk and http://users.skynet.be/mohaaclantb/)
For all your bot needs!!!!
$oldier Of Ra.
(Still accessible through http://mohaaclantb.tk and http://users.skynet.be/mohaaclantb/)
For all your bot needs!!!!
$oldier Of Ra.
-
$oldier Of Ra
- Lieutenant Colonel
- Posts: 404
- Joined: Sun Oct 16, 2005 7:16 pm
- Location: Belgium
- Contact:
I never saw the words "multiplayer" and "mission" used together in an affirmative sentence nor anyone referring a multiplayer game with the word "mission". Do you use the word "mission" as a synonym for "objective"?
I have no idea what you're doing with your game/scripts, you seem to run into a lot of (weird) errors, I never had nor ever heard of. But in my game restart works splendid when I make some ingame adjustments to my scripts.
And if you don't reveal any scripts, then I cannot say whether it's the restart function that's causing the problem or your scripts. Or at least, say what script isn't starting, what makes you know for sure it's not working...
I have no idea what you're doing with your game/scripts, you seem to run into a lot of (weird) errors, I never had nor ever heard of. But in my game restart works splendid when I make some ingame adjustments to my scripts.
And if you don't reveal any scripts, then I cannot say whether it's the restart function that's causing the problem or your scripts. Or at least, say what script isn't starting, what makes you know for sure it's not working...
Our official website: http://www.mohaairborne.co.cc
(Still accessible through http://mohaaclantb.tk and http://users.skynet.be/mohaaclantb/)
For all your bot needs!!!!
$oldier Of Ra.
(Still accessible through http://mohaaclantb.tk and http://users.skynet.be/mohaaclantb/)
For all your bot needs!!!!
$oldier Of Ra.
-
$oldier Of Ra
- Lieutenant Colonel
- Posts: 404
- Joined: Sun Oct 16, 2005 7:16 pm
- Location: Belgium
- Contact:
Waitexec is for external executions where no label within the external script is specified (so it just executes the first label it encounters in that script) and it pauses the label where this command was executed till the specified script('s first label) is done.
Eg:
Waitthread is for the executions of labels in the current script or a specific label in an external script and again it pauses the label where this command was executed till the specified label is done.
Eg:
Then again, since MoHAA's rules are so "elastic" (phrased by rookie :p), it waitexec works for specified labels in external scripts as well.
Eg:
Code: Select all
waitexec global/myscript.scrEg:
Code: Select all
waitthread global/myscript.scr::mylabel
waitthread mylabelOur official website: http://www.mohaairborne.co.cc
(Still accessible through http://mohaaclantb.tk and http://users.skynet.be/mohaaclantb/)
For all your bot needs!!!!
$oldier Of Ra.
(Still accessible through http://mohaaclantb.tk and http://users.skynet.be/mohaaclantb/)
For all your bot needs!!!!
$oldier Of Ra.
-
$oldier Of Ra
- Lieutenant Colonel
- Posts: 404
- Joined: Sun Oct 16, 2005 7:16 pm
- Location: Belgium
- Contact:
That doesn't mean a thing if the game crashes under any circumstance, then there IS something wrong with your script/map.
Our official website: http://www.mohaairborne.co.cc
(Still accessible through http://mohaaclantb.tk and http://users.skynet.be/mohaaclantb/)
For all your bot needs!!!!
$oldier Of Ra.
(Still accessible through http://mohaaclantb.tk and http://users.skynet.be/mohaaclantb/)
For all your bot needs!!!!
$oldier Of Ra.
Admittedly I'm getting a bit dusty
, but let's see if I remember this correctly...
If you restart, the game kills all existing script threads and the script is rerun from the 'level waittill spawn' line onward (this explains why you may have only one such line in an entire script). This means that if you start certain threads before 'level waittill spawn', they will not rerun if you 'restart' from console.
Not that it would explain a game crash though.
If you restart, the game kills all existing script threads and the script is rerun from the 'level waittill spawn' line onward (this explains why you may have only one such line in an entire script). This means that if you start certain threads before 'level waittill spawn', they will not rerun if you 'restart' from console.
Not that it would explain a game crash though.
