Welcome to the Builder Academy

Question New command - Please help

More
24 Jul 2025 11:41 - 24 Jul 2025 11:47 #10826 by JTP
Replied by JTP on topic New command - Please help
.
Last edit: 24 Jul 2025 11:47 by JTP.

Please Log in or Create an account to join the conversation.

More
25 Jul 2025 18:31 - 25 Jul 2025 18:32 #10833 by JTP
Replied by JTP on topic New command - Please help
Is this code needed or was it to find a place to add the code ? I don’t have anything like it already

Code:
zone_rnum quest_zone(qst_rnum quest) { 
zone_rnum i; 
if  (quest == NOTHING) {   
return NOWHERE; 
}
  for (i = 0; i  < top_of_zone_table;  i++) { 
  if (QST_NUM(quest) >= zone_table.bot && QST_NUM(quest) <= zone_table.top) {     
return i;   
}
  }
  return NOWHERE;
}
Last edit: 25 Jul 2025 18:32 by JTP.

Please Log in or Create an account to join the conversation.

More
26 Jul 2025 19:20 #10836 by thomas
Replied by thomas on topic New command - Please help
Yes, that part is used in the function, and should be placed over the function.
The following user(s) said Thank You: JTP

Please Log in or Create an account to join the conversation.

Time to create page: 0.575 seconds