5,389
edits
mNo edit summary |
|||
Line 241: | Line 241: | ||
**generally, you don't know how many of those the player ''already'' has | **generally, you don't know how many of those the player ''already'' has | ||
*solution (if you ''really'' want to mimic '''fatloot''' exactly) : | *solution (if you ''really'' want to mimic '''fatloot''' exactly) : | ||
**take away all the player's powerups, e.g. <tt> | **take away all the player's powerups, the only way to do this being to clear the inventory, e.g. <tt>chr_inv_reset(0)</tt> | ||
**''then'' use e.g. <tt>chr_givepowerup(0, hypo, 6)</tt> | **''then'' use e.g. <tt>chr_givepowerup(0, hypo, 6)</tt> etc. | ||
{| | {| | ||
!style="background:yellow"|(2) | !style="background:yellow"|(2) | ||
Line 250: | Line 250: | ||
*problem with reproducing the '''moonshadow''' effect : | *problem with reproducing the '''moonshadow''' effect : | ||
**generally, you don't know how much Phase Cloak the character ''already'' has | **generally, you don't know how much Phase Cloak the character ''already'' has | ||
*solution (if you ''really'' want to mimic '''moonshadow''' exactly) : | *solution (if you ''really'' want to mimic '''moonshadow''' exactly) : | ||
**drain the player's Phase Cloak with the built-in <tt>begin_cutscene(); end_cutscene();</tt> (only affects the player) | **drain the player's Phase Cloak with the built-in <tt>begin_cutscene(); end_cutscene();</tt> (only affects the player) |