Jump to content

Home

Me + Scripts = headache, Execute/Spawn Probs


ChAiNz.2da

Recommended Posts

Originally posted by ChAiNz.2da

OK, I just noticed this after re-reading all the kewl little snippets everyone has posted ;)

 

My placeable does in fact stay after the datapad is retrieved. It's a metal case (groundbag appearance) .utp that has the datapad in it's inventory.

 

Should I still look into getting rid of it, such as a "Destroy Object" inserted? Or an "inventory check" so that it won't respawn if the PC already has one in their possession? and of course, how to do that... hehehe ;)

 

 

After reviewing the whole thread, I see I got carried away and deviated from your actual setup here.

 

Well, in your particular case, and in this particular area, I think it doesn't really matter that much.

 

If you plan on using this groundbad so player can pick the datapad from its inventory, then you don't need to destroy the placeable. It can stay since player is never coming back there.

 

Initially, I was thinking you intended to make fake version of real datapad on the floor:

datapad0cy.th.jpg

Link to comment
Share on other sites

Originally posted by Xcom

If you plan on using this groundbad so player can pick the datapad from its inventory, then you don't need to destroy the placeable. It can stay since player is never coming back there.

Yeah, hopefully that'll be the case ;) heheh

 

I went ahead and used stoffe -mkb-'s script, since I was on a roll ;).. and it works perfectly as well. I may wind up using it so the 'just in case' factor is covered. It checks and compensates for 'previous' visits. Plus, it's a one-scripter... less space & compiling (major plus)...

 

I even left the area and came back just to test it... nice old (empty) marker there so "whew" :thumbsup:

 

Thanks again everyone! I've indeed learned something new in the scripting world, and of course credits will be given in the script comments (//) and my portion of the readme :D

 

Back to "phase 2" now... hehehe

 

--------------------------------

Discussion regarding ExecuteScript function continues: here

tk102

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...