MMOwned - World of Warcraft Exploits, Hacks, Bots and Guides  
Homepage Register FAQ Members Mark Forums Read Advertise Marketplace FPSowned


Go Back   MMOwned - World of Warcraft Exploits, Hacks, Bots and Guides > WoW Emulator Server > Emulator Server Guides > Ascent Guides
Reload this Page Scripting LUA 101
Ascent Guides This section is for WoW emulated server, Ascent guides.
[NO QUESTIONS HERE]

Reply
 
LinkBack Thread Tools
(#31)
Old
damon160's Avatar
damon160 is Offline
Master Sergeant
Rep Power: 2
Reputation: 8
damon160 is an unknown quantity at this point
 
Posts: 101
Join Date: Oct 2007
Location: Inside the world
03-30-2008

Nice and easy to read
Reply With Quote

Donate to remove ads.
(#32)
Old
SectorSeven's Avatar
SectorSeven is Offline
Banned
Rep Power: 0
Reputation: 444
SectorSeven is just really niceSectorSeven is just really niceSectorSeven is just really niceSectorSeven is just really niceSectorSeven is just really nice
 
Posts: 1,962
Join Date: Oct 2007
03-31-2008

Appeciated.
Reply With Quote
(#33)
Old
Apple's_Ascent's Avatar
Apple's_Ascent is Offline
Contributor
Rep Power: 2
Reputation: 80
Apple's_Ascent will become famous soon enough
 
Posts: 452
Join Date: Apr 2007
Location: In Finland
04-05-2008

How can do mob doing something if he got ex. 75% hp left :O with lua ofc
Reply With Quote
(#34)
Old
SectorSeven's Avatar
SectorSeven is Offline
Banned
Rep Power: 0
Reputation: 444
SectorSeven is just really niceSectorSeven is just really niceSectorSeven is just really niceSectorSeven is just really niceSectorSeven is just really nice
 
Posts: 1,962
Join Date: Oct 2007
04-07-2008

Will be adding more content later this week after I finish up my Mulgore scripts
Reply With Quote
(#35)
Old
zztuf is Offline
Private
Rep Power: 2
Reputation: 11
zztuf is on a distinguished road
 
Posts: 9
Join Date: Apr 2007
04-08-2008

great guide !
Reply With Quote
(#36)
Old
azeon's Avatar
azeon is Offline
Master Sergeant
Rep Power: 2
Reputation: 12
azeon is on a distinguished road
 
Posts: 102
Join Date: Sep 2007
Location: netherlands
04-08-2008

thx! i finly understand a bit of lua



Thanks to Drunne/ Shadix for my sig!
Reply With Quote
(#37)
Old
newfang's Avatar
newfang is Offline
Master Sergeant
Rep Power: 2
Reputation: 19
newfang is on a distinguished road
 
Posts: 91
Join Date: Oct 2007
Location: Usa
04-09-2008

Best guide ever =0
I learned this in about 5 hours. =/
Reply With Quote
(#38)
Old
matser's Avatar
matser is Offline
Knight
Rep Power: 2
Reputation: 35
matser is on a distinguished road
 
Posts: 196
Join Date: Nov 2007
Location: sweden
04-09-2008

I need help with that thing to save the document plz
Reply With Quote
(#39)
Old
SectorSeven's Avatar
SectorSeven is Offline
Banned
Rep Power: 0
Reputation: 444
SectorSeven is just really niceSectorSeven is just really niceSectorSeven is just really niceSectorSeven is just really niceSectorSeven is just really nice
 
Posts: 1,962
Join Date: Oct 2007
04-09-2008

Do File>Save As
Myscriptname.lua
Save as type: All files (you will select from drop down menu
Reply With Quote
(#40)
Old
Herleybob's Avatar
Herleybob is Offline
Contributor
Rep Power: 2
Reputation: 148
Herleybob will become famous soon enoughHerleybob will become famous soon enough
 
Posts: 484
Join Date: Jul 2007
Location: Washington
04-10-2008

Is it possible to make it if you get in range of the NPC, it will say something and cast a spell on you?



Nom Nom Nom
Reply With Quote
(#41)
Old
anima7223 is Offline
Private
Rep Power: 1
Reputation: 7
anima7223 is an unknown quantity at this point
 
Posts: 10
Join Date: Apr 2008
04-10-2008

Nm, found out my problem, forgot to add in a couple words. Thanks for making this awesome guide man.

Last edited by anima7223; 04-10-2008 at 03:20 AM..
Reply With Quote
(#42)
Old
SectorSeven's Avatar
SectorSeven is Offline
Banned
Rep Power: 0
Reputation: 444
SectorSeven is just really niceSectorSeven is just really niceSectorSeven is just really niceSectorSeven is just really niceSectorSeven is just really nice
 
Posts: 1,962
Join Date: Oct 2007
04-10-2008

No problem thanks for the comment
@herleybob - Yes. Use the 10 = Player Enters Range one....
So you could do it like this:
Quote:
function NPCname_Phaseorfunction (pUnit, Event)
pUnit:SendChatMessage(Type, Language, "Message")
pUnit:CastSpell(SPELLID, pTarget())
end
RegisterUnitEvent (10000, 10, "NPCname_Phaseorfunction")

enjoy!
Reply With Quote
(#43)
Old
SectorSeven's Avatar
SectorSeven is Offline
Banned
Rep Power: 0
Reputation: 444
SectorSeven is just really niceSectorSeven is just really niceSectorSeven is just really niceSectorSeven is just really niceSectorSeven is just really nice
 
Posts: 1,962
Join Date: Oct 2007
04-12-2008

Bump of doom
Reply With Quote
(#44)
Old
castitatis is Offline
Site n00b.. (A leecher if I've been here for more than a month and can't earn 5 rep)
Rep Power: 0
Reputation: 1
castitatis is an unknown quantity at this point
 
Posts: 1
Join Date: Mar 2008
04-14-2008

And how would you go about making it so teh boss casts a spell every few min, like lets say I have a mage boss and want it to continually cast firebolts ever min/30 sec at players instead of had health%
Reply With Quote
(#45)
Old
Falor's Avatar
Falor is Offline
Knight
Rep Power: 2
Reputation: 9
Falor is an unknown quantity at this point
 
Posts: 201
Join Date: May 2007
04-14-2008

Quote:
Originally Posted by Romuville View Post
How can do mob doing something if he got ex. 75% hp left :O with lua ofc
I think that you want to put
Code:
function NPCname_Phaseorfunction (pUnit, Event)
if pUnit:GetHealthPct() < {persent} then
{any thing you want goes here}
end
end
RegisterUnitEvent (10000, 1, "NPCname_Phaseorfunction")
PLEASE NOTE

at the end you have to have two ends and then

Last edited by Falor; 04-14-2008 at 08:13 PM..
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On



Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vBulletin Skin developed by: vBStyles.com


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382