mg42 gunner won´t spawn

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
Krautfresser

mg42 gunner won?t spawn

Post by Krautfresser »

When I?m following the tut for an mg42 with a gunner exactly(very small map),everything works fine.When I?m putting this configuration(with a diff map map name) into my own bigger map,I?m getting an error message like "script error/the command exec/waittill is applied to ?NIL?.Whats wrong?And who the hell is this ?NIL??
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Check the targetname of the mg42 gun.

'NIL' means nothing, so the script is trying to execute code on something that doesn't exist hence the error.
Image
Innkeeper
Colonel
Posts: 475
Joined: Mon Nov 25, 2002 10:13 pm
Location: NC, USA (about 7.5 klicks from the capital dome)
Contact:

Post by Innkeeper »

I think that actually 'NIL' is -1 in MOHAA, 'NULL' is nothing. You will get 'NULL' when a varible is not created and 'NIL' when it does exist but has no value.
Krautfresser

THANX

Post by Krautfresser »

Well,I mistyped somewhere else: gunner_spawner instead of spawner_gunner.But thanks anyway,lads.
Post Reply