How to spawn an npc in another npc's death spot

Description: Have idea for a script, but you can't make it? Post it here!
Moderators: Yoshi021, Lx Xzit, 5438A38A, Semi-moderatos, Moderators

Spectra
Topic author, Duke
Duke
Avatar
Spectra
Topic author, Duke
Duke
Age: 19
Reputation: 6
Posts: 125
Joined: 30 Jan 2018
Location: The dream star
YouTube

Post #1by Spectra » 6 May 2018, 20:12

How do i do this?

[example: an npc drops a key upon death]
-No interesting comments here-

Ariinui
Duke
Duke
Ariinui
Duke
Duke
Age: 24
Reputation: 20
Posts: 140
Joined: 5 Mar 2017

Post #2by Ariinui » 6 May 2018, 20:52

this script is spawning a key, to do something else, just replace the 31 into tne npc's id

Image
Image

Code: Select all

with npc(Sysval(param1))
   call ncreate(31, .x, .y, 0, 0, 0, 0)
end with


Return to “Script requests”

Who is online (over the past 5 minutes)

Users browsing this forum: 9 guests