Jump to content

Yet another scripting issue/problem.


JcHARP

Recommended Posts

I have an idea where I would like to make it so that if you kill ANYTHING in the mojave it puts caps in a stashbox somewhere. How would I be able to do that with scripting?

 

So far I have

SCN BSPHitmanQuestScript

Short DoOnce

Begin Gamemode

	If DoOnce == 1 && Player.IsKiller Caucasian
		Set DoOnce to 0
	EndIf

	If Player.IsKiller Caucasian && DoOnce == 0
		Set DoOnce to 1
		BDSHitmanBoxREF.Additem Caps001 25
	EndIf


End

As you can see this script doesn't work. My idea was if I killed someone who belonged to a specific race then it would add caps to a box I placed. However, I don't think IsKiller works off of BaseId's like that. Any help or fresh ideas to try would be appreciated :)

Link to comment
Share on other sites

This is annoying me. My script works but it doesn't add 25 caps once he's killed, it adds 25 caps like, every 0.1 seconds your fighting the npc. This is something you're better off talking to Xaranth about. He's a really good help.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...