Aller au contenu

Photo

I need a script like this ....


  • Veuillez vous connecter pour répondre
1 réponse à ce sujet

#1
DecalGuy

DecalGuy
  • Members
  • 54 messages
#include "utility_h"
void main()
{
    object oPC = GetHero();
    location lLoc = GetLocation(oPC);
    vector vPos = GetPositionFromLocation(lLoc);
    vector vOrientation = GetOrientationFromLocation(lLoc);
    float fAngle = GetFacing(oPC);
    DisplayFloatyMessage(oPC, VectorToString(vPos), FLOATY_MESSAGE, 16777215, 20.0);
    DisplayFloatyMessage(oPC, FloatToString(fAngle), FLOATY_MESSAGE, 16777215, 20.0);
    DisplayFloatyMessage(oPC, "Location", FLOATY_MESSAGE, 16777215, 20.0);
}




But I need it for the area. basically I want to know what the area tag is. and it sent back to me on-screen like my location.


Thank you.

#2
sillyrobot

sillyrobot
  • Members
  • 171 messages
Use GetTag(GetAreaFromLocation( lLoc )) and extract it from the location you already have.