Game Development Community

Tank pack issue

by Charles Andrew · in Technical Issues · 08/29/2006 (3:00 am) · 5 replies

Hi there, i love the tank pack, dont get me wrong, but id like to modify it a bit... basically all i want to do is that when a player enters the tank, he doesn't show up on top of the tank, so basically the player disappears when he enters the tank, how do i do that? thanks, any help is greatly appreciated!

#1
08/29/2006 (7:31 am)
SetHidden(true)?
#2
08/29/2006 (1:41 pm)
In which script do i find that?
#3
08/29/2006 (1:58 pm)
I do not own the tank pack, but I would say its going to be in the tanks oncollision method in the tank.cs or whereever the tank datablock is defined.
#4
08/30/2006 (10:58 am)
You add this in where the player is mounted/unmounted - %player.setHidden(true/false); - dont know where it does that (tank.cs most likely)
#5
08/31/2006 (3:22 am)
Thanks it works now, cheers for your help!