Hello there!
I am looking for a way to collect the map pin text in an area. I know how to do it for pins placed by players, but not for the pins that I placed in the areas myself. Is there any way to do that with a script?
Getting the map pin text from a preset map pin
Débuté par
Just a ghost
, juil. 24 2010 09:32
#1
Posté 24 juillet 2010 - 09:32
#2
Posté 24 juillet 2010 - 11:46
There is no function for that, and waypoint-based mappins are not stored into area local var list.
However, if you will follow this rules for creating waypoints, you will be then able to manipulate with them.
- each mappin must have same tag lets say "MAPPIN"
- each mappin must have mappin note in name field too
Then you will be able to loop through all mappins in area - GetNearestObjectByTag("MAPPIN"
and also you will be able to capture their text - GetName
However only thing you will be able to do is turn them on/off - SetMapPinEnabled
NWNX corner:
- so far NWNX don't handle mappins at all
However, if you will follow this rules for creating waypoints, you will be then able to manipulate with them.
- each mappin must have same tag lets say "MAPPIN"
- each mappin must have mappin note in name field too
Then you will be able to loop through all mappins in area - GetNearestObjectByTag("MAPPIN"
and also you will be able to capture their text - GetName
However only thing you will be able to do is turn them on/off - SetMapPinEnabled
NWNX corner:
- so far NWNX don't handle mappins at all





Retour en haut






