Welcome, Guest. Please login or register.
Did you miss your activation email?
November 22, 2024, 06:09:31 PM
Home Help Login Register
News: Zombie Master 2 discussion

Zombie Master  |  Other  |  Trouble in Terrorist Town  |  Topic: Annoying Bug
Pages: [1]
Author Topic: Annoying Bug  (Read 3804 times)
Manmax75
Poster

Posts: 254


Programming Guy


« on: October 18, 2010, 09:27:54 PM »

Hi, I am making an entity and I have ran into some annoying problem. I am setting a variable before its spawned from another script. For some weird reason instead of completly overrighting the variable it appends to it. So, When I set the variable with the text "Hello World" it comes out as:

Hello World
nil


How can I resolve this....

Ride Forward and Thrust Your Pelvis In The Dark Void. The One Induced By Pleasure Yet Cast By The Bigger Picture.
Manmax75
Poster

Posts: 254


Programming Guy


« Reply #1 on: October 19, 2010, 09:18:17 PM »

Nvm, i fixed the problem. But Now I have another. I changed the model of the deerstalker with a traffic cone. The problem is it spawns just bellow the hip. I have tried adjusting  the z spawn pos. But it dosen't seem to move it....

Ride Forward and Thrust Your Pelvis In The Dark Void. The One Induced By Pleasure Yet Cast By The Bigger Picture.
phoenixf129
Poster

Posts: 476


I Rise from the Ashes.


« Reply #2 on: October 19, 2010, 09:27:40 PM »

I'd assume the model itself doesn't have a bone to attach to, had this with old weapon models, try parenting it to the head bone, I think that might work.

Software Upgrade Paradox - If you improve a piece of software enough times, you eventually ruin it.
Manmax75
Poster

Posts: 254


Programming Guy


« Reply #3 on: October 21, 2010, 09:35:53 PM »

ok so I am using this to attach to the head:

hat:Fire( "SetParentAttachment", "anim_attachment_head" )

is there anyway I can position it more, because it spawns half in the head and after I use that command it stays there and I can't modify position.

Ride Forward and Thrust Your Pelvis In The Dark Void. The One Induced By Pleasure Yet Cast By The Bigger Picture.
Manmax75
Poster

Posts: 254


Programming Guy


« Reply #4 on: October 22, 2010, 08:10:23 PM »

Suggestions?

Ride Forward and Thrust Your Pelvis In The Dark Void. The One Induced By Pleasure Yet Cast By The Bigger Picture.
Pages: [1]
Zombie Master  |  Other  |  Trouble in Terrorist Town  |  Topic: Annoying Bug « previous next »
Jump to:  


Login with username, password and session length

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines
Page created in 0.01 seconds with 18 queries.