View Full Version : [SOLVED] OregonCore Object Script
02-22-2015, 08:09 PM
Can any help?
I need create a script of object, which would work like teleport to some location, but must function like gate to instance or dark portal(to pass, not click).
SQL action or C++
02-22-2015, 09:35 PM
With SQL you can use a gameobject with a spell casted on the player approaching the gameobject.
PX-238 Winter Wondervolt
PX-238 Winter Wondervolt TRAP
The spell then teleports the player.
Otherwise you likely need C++.
Cant pull out a script atm, but the basic idea is to use for example a creature that on movement on LOS hook teleports the player if within a set range.
02-23-2015, 10:39 AM
I use a trap,
but its use the spell, and i need that spell need a change, its change in DBC or in db?
02-23-2015, 11:18 AM
Well, I havent used oregon, but if you choose a spell that has a teleport effect
For example http://wotlk.openwow.com/spell=46615
You should be able to set the location of teleport in a table called spell_target_position
Powered by vBulletin® Version 4.2.3 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.