FOnline Development > Questions and Answers
FOnline SDK - Question
Demenise:
Thank you so much ;D
Demenise:
On the map editor how can i set grids? i mean when i walk on the green grid it goes to the next map how do i do that?
Lexx:
The green grid is just show. You will have to place EG objects and define the target map there.
Bevolard:
How do i remove hell so i can just respawn at the nearest replication?
Wind_Drift:
--- Quote from: Bevolard on March 25, 2013, 02:03:18 pm ---How do i remove hell so i can just respawn at the nearest replication?
--- End quote ---
The replication.fos script removes money from the ST_REPLICATION_COST every time you die. If that stat is below 0 when you die, it replicates you to Hell.
--- Code: ---if( not dieMapIsHell )
{
cr.StatBase[ ST_REPLICATION_MONEY ] -= cr.Stat[ ST_REPLICATION_COST ];
_CritAddItem( cr, PID_FLOWER, 1 );
if( cr.Stat[ ST_REPLICATION_MONEY ] >= 100 )
_CritAddItem( cr, PID_RADIO, 1 ); // Add radio
}
--- End code ---
The easiest fix for the time being is to set the [ST_REPLICATION_COST] to 0 in main.fos, so it will never go below 0 when you die.
You could change the replication script entirely, but this will achieve the desired result.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version