#294 func "casted_on" doesn't work on Doors

Closed
opened 3 years ago by premierio0015 · 1 comments

function casted_on(NPC, Spawn, SpellName)

             if SpellName == "use" then
             SendMessage(Spawn, "This door is securely locked!", "yellow")
             end
                end

Doors are not responding on casted_on function. We need this to prevent players open closed doors, send messages like "door is closed".

function casted_on(NPC, Spawn, SpellName) if SpellName == "use" then SendMessage(Spawn, "This door is securely locked!", "yellow") end end Doors are not responding on casted_on function. We need this to prevent players open closed doors, send messages like "door is closed".
image commented 3 years ago
Collaborator

doors use function 'usedoor' in SpawnScripts : http://cutpon.com:3000/devn00b/EQ2EMu/issues/248

doors use function 'usedoor' in SpawnScripts : http://cutpon.com:3000/devn00b/EQ2EMu/issues/248
Sign in to join this conversation.
Loading...
Cancel
Save
There is no content yet.