Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can't resolve <HOME>
Author Message
jexnico
Journeyman
*

Posts: 168
Likes Given: 86
Likes Received: 3 in 3 posts
Joined: Jan 2014
Reputation: 0



Post: #1
Can't resolve <HOME>
Could anyone help me with this Stanic script?
I don't know why the server is returning this error to me ...
I've looked line by line and can't see where it's wrong

Quote:08:45:ERROR:(boss_sys.scp,105)Can't resolve <HOME>
08:45:ERROR:(boss_sys.scp,105)Undefined symbol ''

Quote:[FUNCTION NewGuardian_Boss]
IF (<UID>) && (<ARGS>)
EMOTE summonando <QVAL (<ARGS>==1)?um Guardian:alguns Guardians>
TRIGGER @SpawnGuardian
FOR <ARGS>
SERV.NEWNPC <TAG.Guardian.ID>
NEW.P=<P>
IF (<HOME>)
NEW.HOME=<HOME>
IF (<HOMEDIST>)
NEW.HOMEDIST=<HOMEDIST>
NEW.MOVENEAR <UID>,<R<HOMEDIST>>
ENDIF
ENDIF
NEW.TAG.Guardian.Boss=<UID>
NEW.TAG.DeathFlags=<TAG.Guardian.DeathFlags>
NEW.EVENTS +e_GuardianBoss
NEW.UPDATEX
NEW.TIMERF 1,GuardianCheck_Boss
SetGuardian_Boss <NEW>
ENDFOR
ENDIF

And the creature script

Quote:[CHARDEF c_general_gardoor]
DEFNAME=c_ettin
NAME=General Gardoor
ID=0190
CAN=MT_USEHANDS|MT_WALK|MT_RUN
DAM=30,50
TAG0.Guardian.ID=c_orc
TAG0.Guardian.Amount=5
TAG0.Guardian.LossLife=150
TAG0.Guardian.Delay=15
TAG0.Guardian.DeathFlags=002
TEVENTS=e_BossSettings

ON=@Create
TITLE=General Gardoor
STR={500}
DEX={200}
INT={10}
MAXHITS={1200 1400}
HOMEDIST=10
MAGICRESISTANCE={900.0 900.0}
TACTICS={900.0 900.0}
WRESTLING={900.0 900.0}
SWORDSMANSHIP={900.0 900.0}
PARRYING={900.0 900.0}
NPC=BRAIN_HUMAN
COLOR=colors_skin
KARMA={-5000 -7000}
FAME={1500 2000}
07-31-2019 09:50 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Coruja
Sphere Developer
*****

Posts: 893
Likes Given: 5
Likes Received: 208 in 171 posts
Joined: Jul 2012
Reputation: 6

Dimension Shard

Post: #2
RE: Can't resolve <HOME>
You must make sure that this function NewGuardian_Boss is called by something that can use the <HOME> property (or in other words, it must be called by chars)
08-01-2019 12:22 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)

This forum uses Lukasz Tkacz MyBB addons.