Forum > Serverside Modding
[QUESTION] [Trinity] Spawn a house by an item?
(1/3) > >>
Nic:
Hey everyone ;)
i am racking my head about a little problem... I want to spawn a gameobject by an item, but it does not work very well.
I take that spell (http://old.wowhead.com/spell=42753) which spawn a gameobject for a short time. I put that spell into a new item and edit the spell trigger object (Entry: 186472) from this spell. I rename the object, change the display id and set the flag on 36 (Cannot interact & No despawn).
Ingame i add me the item and click on it. I can chose the location where the object spawn. After 4sec spell cast the object spawns (Yay!), but after a server restart the object is despawn... :( i think the spell dont add the object into the "gameobject" table.
Does anyone have an idea to solve this problem?
Ascathos:
Pretty sure you'd have to do that either in a hacky way or not at all.
Nic:
That's what I thought... i have no idea for a "hacky" way.
Bartons:
What about this ...
When they use the item, it grants them permissions and the ability to spawn game objects for a short period of time. Then, when they use the item, have the item execute a server side script :".go spawn [ID] 1" to spawn the game object in the world.
Just a suggestion.
schlumpf:
Hacking a spell to temporarily grant permissions would be a horrible idea and even worse user experience.
Navigation
[0] Message Index
[#] Next page
|