Difference between revisions of "Community Portal"
Jump to navigation
Jump to search
m
Reverted edits by HBabin26 (talk) to last revision by DragoonWraith
imported>HBabin26 m (None) |
imported>DragoonWraith m (Reverted edits by HBabin26 (talk) to last revision by DragoonWraith) |
||
Line 540: | Line 540: | ||
::Create templates as you find convenient, but I don't think it should be a general rule or would be a good idea for most functions. | ::Create templates as you find convenient, but I don't think it should be a general rule or would be a good idea for most functions. | ||
::For example, DW linked with and because they all relate to the extra effects that an arrow can have. These 2 are important to know, and should have large, flashing neon signs pointing at | ::For example, DW linked [[GetArrowProjectilePoison]] with [[GetArrowProjectileEnchantment]] and [[GetArrowProjectileBowEnchantment]] because they all relate to the extra effects that an arrow can have. These 2 are important to know, and should have large, flashing neon signs pointing at them. There are still 6 other projectile functions, some are usually useful ([[GetProjectileType]], [[GetProjectileSource]]) and some not at all or only in specific situations (i.e., [[SetPlayerProjectile]]). These other 6 would only dilute the importance of the first 2, as you would have 8 functions to look through instead of 2. It can quickly spiral out of control, as well - should we include some/most/all magic functions on the [[GetMagicProjectileSpell]] article? | ||
::Ok, that was enough of a warning - go for it. Place the templates in a common category (maybe "Function Groups") so we can find them, others can use them, etc. I'll look up some more on the templates - it would be cool if we could hide/show them (and maybe even auto-populate the template onto the necessary functions). | ::Ok, that was enough of a warning - go for it. Place the templates in a common category (maybe "Function Groups") so we can find them, others can use them, etc. I'll look up some more on the templates - it would be cool if we could hide/show them (and maybe even auto-populate the template onto the necessary functions). | ||
Line 690: | Line 690: | ||
#Tell people where the script need to be attached, Object, Quest, Spell, what ever. | #Tell people where the script need to be attached, Object, Quest, Spell, what ever. | ||
#3 lines of a script with out any understanding of where the variables came from is a joke.. | #3 lines of a script with out any understanding of where the variables came from is a joke.. | ||
if( Dogbugger.GetWithTheProgram & FroggyPoot.LostHisWay) != I'mLost | if( Dogbugger.GetWithTheProgram && FroggyPoot.LostHisWay) != I'mLost | ||
dosomethingstupid | dosomethingstupid | ||
endif | endif |