Null entity clarification please...
Moderator: Moderators
Null entity clarification please...
^~^~^ Script Error: IsTouching used with a NULL entity.
Does this mean its not recognizing the trigger-multiple I am using with the proper target name?
Or does it mean something else?
Does this mean its not recognizing the trigger-multiple I am using with the proper target name?
Or does it mean something else?
When I am king, you will be first against the wall~


script
It means there is a script line somewhere that is looking for an entity (targetname) in the map that is not there. It should tell you which script the line is in, and the targetname it can't find.
It cant find any of my trigger-multiples that are supposed to count players in an area. I'll have ot look closer at the script I stole from bjarne =)
I would understand any number of other errors in this script, but im not sure why it cant find the triggers that are named...
I would understand any number of other errors in this script, but im not sure why it cant find the triggers that are named...
When I am king, you will be first against the wall~


script
The error can come from any script, so are you using any "global" scripts? exploder.scr? obj_dm.scr?
its in my script, and I know where, it is a if statement using several player istouching x lines linked with || where x = triggermultiples.
trying to make a liberation map work with more then one jail.
not that ive gotten it to work quite yet with one jail either =)
trying to make a liberation map work with more then one jail.
not that ive gotten it to work quite yet with one jail either =)
When I am king, you will be first against the wall~


-
Bjarne BZR
- Site Admin
- Posts: 3298
- Joined: Wed Feb 05, 2003 2:04 pm
- Location: Sweden
- Contact:
$player
Well, It my be that you have a "$" where there should not be one--like the example below. If it's a variable name like "local.player", there should be a line above like this.
local.player = parm.other
That line sets/resets the variable for the next player. If that line is not used, the variable value will be "NIL" the first time the thread is read.
It is that way for any variable name--it has to be set to something or it has NIL as its value. I don't know really know if NULL and NIL are interchangeable, but they both are used for "no value".
We can't help much without info.
local.player = parm.other
That line sets/resets the variable for the next player. If that line is not used, the variable value will be "NIL" the first time the thread is read.
It is that way for any variable name--it has to be set to something or it has NIL as its value. I don't know really know if NULL and NIL are interchangeable, but they both are used for "no value".
We can't help much without info.
-
agentmad007
- Brigadier General
- Posts: 570
- Joined: Tue Feb 24, 2004 3:52 pm
-
nuggets
- General
- Posts: 1006
- Joined: Fri Feb 28, 2003 2:57 am
- Location: U-england-K (england in the UK) :P
- Contact:
i don't know who you mean when you say "you" but i'll presume you mean someone else
anyway, if i had the script i'd let you have it, but as i don't i can't, but would make ya one if there's not a suitable one out there
and yes it would be possible to create multiple jail cells, but the script in it's current state may need editting
anyway, if i had the script i'd let you have it, but as i don't i can't, but would make ya one if there's not a suitable one out there
and yes it would be possible to create multiple jail cells, but the script in it's current state may need editting
hope this helps, prob not cos it's all foreign 2 me :-/

