Please login or register.

Login with username, password and session length
Advanced search  

News:

For WME related articles and tutorials visit WME Resource Center.

Author Topic: little pbs with package  (Read 2826 times)

0 Members and 1 Guest are viewing this topic.

dreamfighter

  • Supporter
  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 28
    • View Profile
little pbs with package
« on: March 23, 2008, 08:33:22 PM »

hello

i try to compil 2 little levels that i made but i have error when i try to make package
my errors are

line 6: variable 'Nolan' (is my actor)is referenced but not defined
line 7: variable 'Nolan' (is my actor)is referenced but not defined
error applying filter to file 'scenes\front\scr\scene_init.script

i don't know what is it
can you help me?

thank you very much
Logged

sychron

  • Wanderer zwischen den Welten
  • Global Moderator
  • Regular poster
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 223
  • There is no spoon. The enemy gate is down!
    • View Profile
Re: little pbs with package
« Reply #1 on: March 23, 2008, 11:56:25 PM »

This is very little information to track down the error.

Did you properly declare the global variable Nolan?
Remember you have to declare it in every script.

Does the game compile and run properly without any script errors?
Logged
... delete the inner sleep ...

dreamfighter

  • Supporter
  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 28
    • View Profile
Re: little pbs with package
« Reply #2 on: March 24, 2008, 09:09:01 AM »

thank you sychron for you reply, but what can i do to declare my actor in every script?
my game run properly without any script errors
i don't know what happen
i'm searching but i don't know where is the error
can you help me
« Last Edit: March 24, 2008, 09:19:12 AM by dreamfighter »
Logged

sychron

  • Wanderer zwischen den Welten
  • Global Moderator
  • Regular poster
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 223
  • There is no spoon. The enemy gate is down!
    • View Profile
Re: little pbs with package
« Reply #3 on: March 24, 2008, 12:49:01 PM »

insert a "global" definition into every script that uses the global vars
Logged
... delete the inner sleep ...

dreamfighter

  • Supporter
  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 28
    • View Profile
Re: little pbs with package
« Reply #4 on: March 24, 2008, 01:56:12 PM »

thank you

ok i found my pbs, it's a pbs in a scriptn an error of mine

thank you for help
« Last Edit: March 24, 2008, 02:19:10 PM by dreamfighter »
Logged
 

Page created in 0.036 seconds with 19 queries.