• ✨ ARCHIVE MODE ✨
    The forum has now been set to read-only mode, no new posts, resources, replies etc will not be possible.
    We recommend you join our Discord server to get real-time response: Discord Invite Link

@Battle:Wild

Status
Not open for further replies.

CodeKnight

Trainer
I'm trying to make a battle event (like how you walk up to a legendary and it starts a battle when you 'talk' to it) but nothing is happening.
Here's the NPC info:
Code:
{"NPC"{NPC[{"Position"{sngArr[30,0,17]}}{"TextureID"{str[9]}}{"ID"{int[7]}}{"Name"{str[random]}}{"Action"{int[1]}}{"AdditionalValue"{str[pikachu]}}{"Rotation"{int[1]}}{"Movement"{str[Looking]}}{"MoveRectangles"{recArr[]}}]}}
And here's the script:
Code:
@Battle:wild(025,60)
:end
I expect I'm going about this far to simply, but I'm new at this. Any guidance would be greatly appreciated.
 

Darkfire

Administrator
Administrator
P3D Developer
only one thing wrong
You don't need the 0 with the 25
other than that it looks fine
Make sure you save the script as pikachu.dat and put it in the script folder
 

CodeKnight

Trainer
I removed the 0, but there's still nothing happening. The NPC just looks at me.

EDIT: I got it. The problem was the the @Battle format. Fixed it to this:
Code:
@Battle:Wild,25,60
:end
 
Status
Not open for further replies.
Top