Strange message when trying to set the bomb

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
Bjarne BZR
Site Admin
Posts: 3298
Joined: Wed Feb 05, 2003 2:04 pm
Location: Sweden
Contact:

Strange message when trying to set the bomb

Post by Bjarne BZR »

When a player tries to set the bomb attached to a Flak88, I get a mesage saying

Code: Select all

usetrigger but failed check
failed cansee check
...in the console and nothing happens... any idea why?

If I place a trigger_use at the same spot with a setthread that prints a message, it is printed... it seems as the exploder system does not think I can see the trigger... I don't understand why...

( Maby it is relevant to tell you that the entire exploding objective is scripted into a stock map )
Admin .MAP Forums
Image
Head above heels.
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

debug

Post by tltrude »

That is a built-in debug for the obj_dm.scr script. It should only show up if a player turns away from the trigger while he is setting it. It may be that your trigger brush is too big, and the player is too close to it. The trigger should be only as big as the bomb.
Tom Trude,

Image
Bjarne BZR
Site Admin
Posts: 3298
Joined: Wed Feb 05, 2003 2:04 pm
Location: Sweden
Contact:

Post by Bjarne BZR »

Hmm... it IS larger than the bomb, but only like 8 units or something... I'll have to experiment with this... thanx man! :)
Admin .MAP Forums
Image
Head above heels.
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Make sure there is nothing (like the bounding box of a model) between the player and the bomb :wink:
Image
Bjarne BZR
Site Admin
Posts: 3298
Joined: Wed Feb 05, 2003 2:04 pm
Location: Sweden
Contact:

Post by Bjarne BZR »

jv_map wrote:Make sure there is nothing (like the bounding box of a model) between the player and the bomb :wink:
Yep jv, that was it. I just dident get around to posting because i reinstalled windows today :?

Thanx all the same :)
Admin .MAP Forums
Image
Head above heels.
Post Reply