generated from Jaysyn/ModuleTemplate
Initial Commit
Initial Commit.
This commit is contained in:
23
_module/nss/tw_karte_wald.nss
Normal file
23
_module/nss/tw_karte_wald.nss
Normal file
@@ -0,0 +1,23 @@
|
||||
// Wertet aus ob der Spieler eine Karte vom Wald dabei hat,
|
||||
// und aktiviert bei TRUE die Wegpunkte.
|
||||
|
||||
#include "nw_i0_tool"
|
||||
|
||||
void main()
|
||||
|
||||
{
|
||||
object oAlderan = GetWaypointByTag("NW_Alderan");
|
||||
object oCern = GetWaypointByTag("NW_Cern");
|
||||
object oDrache = GetWaypointByTag("NW_Drachen");
|
||||
object oNebel = GetWaypointByTag("NW_Nebelgebirge");
|
||||
|
||||
if(CheckPartyForItem(GetEnteringObject(), "KarteWald"))
|
||||
{
|
||||
SetMapPinEnabled( oAlderan, TRUE);
|
||||
SetMapPinEnabled( oCern , TRUE);
|
||||
SetMapPinEnabled( oDrache , TRUE);
|
||||
SetMapPinEnabled( oNebel , TRUE);
|
||||
ExploreAreaForPlayer(OBJECT_SELF,GetEnteringObject());
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user