Latest topics
» Help with trigger_usescript
Thu Sep 22, 2016 8:16 am by flanagon

» New Lugormod U# (Windows + Linux)
Thu Sep 22, 2016 7:03 am by Ufo

» Single Round Team Quest
Thu Jul 23, 2015 10:39 pm by agent6141

» iobject terminal
Thu Sep 25, 2014 2:39 pm by flanagon

» Usefull Downloads
Thu Aug 07, 2014 12:35 am by Kimmeh

» Television
Thu Jan 09, 2014 2:25 am by Mr. Swister

» Lugormod U# on server
Wed Jan 08, 2014 11:08 pm by Shadow

» Teleporter with effects
Thu Jan 02, 2014 5:51 am by Pierry

» Some possibly useful addons
Thu Jan 02, 2014 5:50 am by Pierry


help, restore func_breakable/ invisible npc

View previous topic View next topic Go down

help, restore func_breakable/ invisible npc

Post by NighTCrawleR on Tue Jan 15, 2013 10:59 pm

hi,
i'm having a problem that i can't solve and i think that one of you could help me.
how can i restore a func_breakable or a misc_breakable after its being destroyed? with a script maybe?, can't think another solution..
or make and invisible npc.

NighTCrawleR
New User
New User

Posts : 11
Join date : 2010-07-30

View user profile

Back to top Go down

Re: help, restore func_breakable/ invisible npc

Post by sifodias on Fri Mar 01, 2013 9:33 am

To restore an ent you must do /action undodelete respawn

sifodias
New User
New User

Posts : 9
Join date : 2013-03-01

View user profile

Back to top Go down

Re: help, restore func_breakable/ invisible npc

Post by NighTCrawleR on Sun Mar 03, 2013 1:43 am

Lol. sorry that's not the problem..

The entity is still there, only broke.

NighTCrawleR
New User
New User

Posts : 11
Join date : 2010-07-30

View user profile

Back to top Go down

Re: help, restore func_breakable/ invisible npc

Post by sifodias on Sun Mar 03, 2013 5:33 am

Oh I see ... the only solution is deleting your ent and creating it again.

sifodias
New User
New User

Posts : 9
Join date : 2013-03-01

View user profile

Back to top Go down

Re: help, restore func_breakable/ invisible npc

Post by NighTCrawleR on Sun Mar 03, 2013 11:05 am

lol but that would be so noob.. np im triying to do it with a script.

NighTCrawleR
New User
New User

Posts : 11
Join date : 2010-07-30

View user profile

Back to top Go down

Re: help, restore func_breakable/ invisible npc

Post by Soap94 on Thu Mar 07, 2013 2:56 pm

I think if you do /nudge (entity number) 0 0 0 that should make it respawn.

Also, I'd suggest you to turn your func_breakables into func_static's.

Soap94
New User
New User

Posts : 19
Join date : 2012-01-16
Age : 22
Location : Argentina

View user profile http://lugormod.org

Back to top Go down

Re: help, restore func_breakable/ invisible npc

Post by NighTCrawleR on Thu Mar 07, 2013 11:53 pm

So tellme soap how can you do a button with that... i would like to do a button that when you press it restores the health of the model... do you people understand?

why u suggest that i should change my classname to func_static since func_static does not break?

NighTCrawleR
New User
New User

Posts : 11
Join date : 2010-07-30

View user profile

Back to top Go down

Re: help, restore func_breakable/ invisible npc

Post by Soap94 on Fri Mar 08, 2013 1:55 am

I don't know if that's actually possible, have you tried targeting the func after it's been destroyed?

Soap94
New User
New User

Posts : 19
Join date : 2012-01-16
Age : 22
Location : Argentina

View user profile http://lugormod.org

Back to top Go down

Re: help, restore func_breakable/ invisible npc

Post by NighTCrawleR on Mon Mar 11, 2013 8:25 pm

it's possible with script.

NighTCrawleR
New User
New User

Posts : 11
Join date : 2010-07-30

View user profile

Back to top Go down

Re: help, restore func_breakable/ invisible npc

Post by Sponsored content Today at 11:55 pm


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum