Help Fixing Map (Only Crashes in multiplayer)

Status
Not open for further replies.
Level 4
Joined
Jan 14, 2005
Messages
73
Ok so ive noticed a few things wrong with my map and i cant for the life of me figure out whats causing the problems.

1.) Player 1 even if hes red seems to be changed to blue (this seems to be computer specific as ive loaded the map on multiple computers and my laptop im blue and on my desktop im red).

2.) Map Crashes When theres more then 1 human player

(Theres other things that are incorrect but thats because maps only v0.07 (release is planed for v1.00, However if you notice something that looks funny let me know)
If anyone would be so kind as too point out wtf i did wrong with my triggers please let me know.


Uhh btw is this the wrong area for this? if it is could mod move please?
 

Attachments

  • Hero Survival Beta 0.07b.w3x
    439.5 KB · Views: 43
Last edited:
Level 37
Joined
Mar 6, 2006
Messages
9,243
I'm not sure why it crashes, but I when I try to edit forces, the editor crashes. Does it do that for you?

Also this trigger



  • SetupPlayerSlots
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Set Var1 = 0
      • Set Player_Number[Var1] = LoopReuseable[0] // Player number[0] = 0, but there's no P(0) in GUI.
      • For each (Integer LoopReuseable[0]) from 1 to 12, do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ((Player(LoopReuseable[0])) slot status) Equal to Is playing
              • ((Player(LoopReuseable[0])) controller) Equal to User
            • Then - Actions
              • Set PlayersPlaying_int = (PlayersPlaying_int + 1)
              • Set Var1 = (Var1 + 1)
              • Set Player_Number[Var1] = LoopReuseable[0]
            • Else - Actions
should be like this:

  • SetupPlayerSlots
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Set Var1 = 0
      • For each (Integer var2) from 1 to 12, do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ((Player(var2)) slot status) Equal to Is playing
              • ((Player(var2)) controller) Equal to User
            • Then - Actions
              • Set Var1 = (Var1 + 1)
              • Set Player_Number[Var1] = var2
            • Else - Actions
      • Set PlayersPlaying_int = Var1
Basically it won't change much. But why do you use an array for the loop variable?

 
Status
Not open for further replies.
Top