| Contents |
|---|
| Random Thumbnail |
|---|
![]() |
| Search |
|---|
| Login |
|---|
| Navigation |
|---|
| Most Recent |
|---|
| Featured Articles |
|---|
| Navigation |
|---|
| Who Is Online? |
|---|
| We have 56 guests online |
| Script error: Invalid Special Parameter Warning |
|
| Descent 3 - Descent 3 construction | |||
| Written by Thomas | |||
| Sunday, 15 February 2009 15:11 | |||
|
When trying to 'Save' a script in the Dallas script editor every now and then an error message like this one pops up:
There are several reasons for this error message, but they are all related to each other. The script owner is an object which does not have to be close or related to the player at the time of its execution. Sounds nasty, doesn't it? Example: Owner is an object, event is a timer, action is to show a HUD message to the player. When the event occurs (the timer elapses) the player object is not related to the script owner. It is not known who or what the player object is. That's why the script editor comes up with that error message. You can overcome the issue in this example by either changing the event to something that knows the player object (like "collided" instead of "timer went off") or by displaying the HUD message to all players ("Show HUD message"). In the first case make sure that a reference exists, in the latter the reference is not required since the message is diesplayed to everyone in the game unconditionally.
|
|||
| Last Updated on Sunday, 21 March 2010 18:13 |
You need to login or register to post comments.
Discuss this item on the forums. (0 posts)






