Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do i script a walk on brick = give sword script ?

Asked by 9 years ago

How do i script that ?

2 answers

Log in to vote
0
Answered by
Goulstem 8144 Badge of Merit Moderation Voter Administrator Community Moderator
9 years ago

The action that you want requires a Touched event, and the cloning method. You need to put a touched event into the paqrt, then clone the sword from somewhere and place it in the player's inventory. To find the player from the character, use the GetPlayerFromCharacter method. This is all the help you will recieve since this isn't a request site. Try figuring out what these are and doing it yourself. Come back if/when you have an error or still don't understand.

-Goulstem

Ad
Log in to vote
-1
Answered by
Validark 1580 Snack Break Moderation Voter
9 years ago

I would search for a "Make Your Own Giver" in free models. That sounds like what you want. I would study the scripts it uses next time.

Answer this question