The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 895 - File: showthread.php PHP 7.3.33 (Linux)
File Line Function
/showthread.php 895 errorHandler->error




Users browsing this thread: 2 Guest(s)
Events: NPC scripts

#1
Posts: 763
Threads: 83
Thanks Received: 55
Thanks Given: 7
Joined: Apr 2015
Reputation: 22
Status
Obliviscence
So, early early in the game, I am working on NPC scripts for some NPCs that walk around, the problem I'm having is that when I enter a battle or even my menu window, when I come back the NPC script starts over from whatever position the NPC was in ending in the NPC traveling outside of where it is supposed to go.

There has got to be a setting or an override bit or something that remembers where the NPC is in the code so when the screen is restored, it doesn't start the script over. I just don't know what that bit or setting might be.

A little help?
  Find
Quote  



Messages In This Thread
Events: NPC scripts - by B-Run - 07-31-2013, 04:32 PM
RE: Events: NPC scripts - by Gi Nattak - 07-31-2013, 05:51 PM
RE: Events: NPC scripts - by B-Run - 07-31-2013, 07:58 PM
RE: Events: NPC scripts - by Gi Nattak - 07-31-2013, 08:06 PM
RE: Events: NPC scripts - by B-Run - 07-31-2013, 09:42 PM
RE: Events: NPC scripts - by Gi Nattak - 07-31-2013, 09:56 PM
RE: Events: NPC scripts - by B-Run - 07-31-2013, 10:05 PM

Forum Jump:

Users browsing this thread: 2 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite