Thread: Random Contacts
View Single Post
  #79  
Old 05-21-2010, 01:31 AM
Nanaki Nanaki is offline
Approved Member
 
Join Date: Mar 2010
Posts: 338
Default

Quote:
1. Originally there are 3 types of global variables local_num and init_team (local_num, local_num1, local_num2). I've tried add local_num3 and got error (in line "local_num3 = local_num3 + 1;". You have this local_num3 and init_team3 in one of your functions. Is there any trick involved to get these to work?
You have to define them at the beginning of the function, like so:
local_num3 = 0;
init_team3 = 0;

Quote:
2. What about level of summon perks? How to avoid disappearing lower level perks when get higher of the same type?
Not possible. Each pilot can only have a maximum of 4 seperate summon perks (by using different levels of the four current perks). I attempted to add additional summoning perks a long time ago, but I found out the XML Schema files are hardcoded in the exe, so that is not possible either.

Quote:
3. Every flight has two triggers that look nearly the same. What are their roles? First deletes flight when ... all enemies will be dead? But second?
One deletes the summoned flight, the other creates the portal glow special effects used when the summoned flight is deleted.
Reply With Quote