I'm addicted...

holodog

First time out of the vault
To scripting. I'm not great at it, but this week I'm in New York City looking at apartments, and all I can think about is how I can't wait to get home so I can work on getting that stupid floater conversation timed correctly.
 
holodog said:
that stupid floater conversation

floaters1dc.png


You'd better run into some problem along the way* and post about it here, since pure community threads don't belong in this forum or something. :wink:

*With the scripting, not the apartment hunting.
 
You'd better run into some problem along the way* and post about it here, since pure community threads don't belong in this forum or something.

Sorry - I guess I get a little punchy when I'm stuck in a hotel room with nothing to do.
 
But now that you mention it, here's the problem I've been having...

Here's my floater conversation code:

Code:
   if( Complex_Float_Stage == 0 ) then begin
      float_msg(dude_obj, message_str(NAME,670), FLOAT_COLOR_NORMAL);
      Complex_Float_Stage += 1;
      add_timer_event( self_obj, game_ticks(3), 3);
   end
   else if( Complex_Float_Stage == 1 ) then begin
      float_msg(dude_obj, message_str(NAME,671), FLOAT_MSG_GREEN);
      Complex_Float_Stage += 1;
      add_timer_event( self_obj, game_ticks(3), 3);
   end
   else if( Complex_Float_Stage == 2 ) then begin
      float_msg(dude_obj, message_str(NAME,680), FLOAT_COLOR_NORMAL);
      Complex_Float_Stage += 1;
      add_timer_event( self_obj, game_ticks(6), 3);
   end
   else if( Complex_Float_Stage == 3 ) then begin
      float_msg(dude_obj, message_str(NAME,681), FLOAT_MSG_GREEN);
      Complex_Float_Stage += 1;
      add_timer_event( self_obj, game_ticks(6), 3);
   end
   else if( Complex_Float_Stage == 4 ) then begin
      float_msg(dude_obj, message_str(NAME,690), FLOAT_MSG_GREEN);
      Complex_Float_Stage += 1;
      add_timer_event( self_obj, game_ticks(6), 3);
   end
   else if( Complex_Float_Stage == 5 ) then begin
      float_msg(dude_obj, message_str(NAME,700), FLOAT_MSG_GREEN);
      Complex_Float_Stage += 1;
      add_timer_event( self_obj, game_ticks(3), 3);
   end
   else if( Complex_Float_Stage == 6 ) then begin
      gfade_out(600);
      gfade_in(600);
      float_msg(dude_obj, message_str(NAME,710), FLOAT_MSG_GREEN);
      Complex_Float_Stage += 1;
      add_timer_event( self_obj, game_ticks(3), 3);
   end
   else if( Complex_Float_Stage == 7 ) then begin
      float_msg(dude_obj, message_str(NAME,720), FLOAT_COLOR_NORMAL);
      Complex_Float_Stage += 1;
      add_timer_event( self_obj, game_ticks(3), 3);
      gfade_out(ONE_GAME_SECOND);
      move_to(dude_obj,21054,0);
      game_ui_enable;
      gfade_in(ONE_GAME_SECOND);
   end

When I run this, it only seems to display the first message, and then halt. I toyed around with a while loop for it, but couldn't get it to work. This is code is modified from the floater conversation that occurs between Vic and his daughter in Vault City. You know, Val, or Valerie. Or whatever.
 
Back
Top