Skip to content

Commit

Permalink
couple of missed sections
Browse files Browse the repository at this point in the history
commented out LVAR_Personal_Enemy in damage_p_proc and added set_personal_enemy
commented out LVAR_Hostile in pickup_p_proc and added set_hostile
  • Loading branch information
QuantumApprentice committed Apr 9, 2021
1 parent d7bac5f commit 36ee346
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Party Member Template.ssl
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,9 @@ procedure Node1100; // rejoin party
/*****************************************************************
Local Variables which are saved.
All Local Variables need to be prepended by LVAR_
To have LVars work, open scripts.LST, scroll to your character's script name,
and change the "LVars" setting to at least 11,
Since there are 11 Local Variables used below.
*****************************************************************/
//#define LVAR_Hostile (4)
#define LVAR_Flags (4)
Expand Down Expand Up @@ -170,7 +173,8 @@ procedure damage_p_proc begin
the player for his evil acts. */

if (obj_in_party(source_obj)) then begin
set_local_var(LVAR_Personal_Enemy, 1);
// set_local_var(LVAR_Personal_Enemy, 1);
set_personal_enemy;
end

end
Expand All @@ -181,7 +185,8 @@ procedure pickup_p_proc begin
will be remembered. */

if (source_obj == dude_obj) then begin
set_local_var(LVAR_Hostile, 2);
// set_local_var(LVAR_Hostile, 2);
set_hostile;
end

end
Expand Down

0 comments on commit 36ee346

Please sign in to comment.