Difference between revisions of "Category:Projectile Functions (OBSE)"
Jump to navigation
Jump to search
imported>Haama (Placing in Function Type category) |
imported>Haama (Is that clear?) |
||
Line 1: | Line 1: | ||
Projectile functions provided by the [[:Category: Oblivion Script Extender|Oblivion Script Extender]] | Projectile functions provided by the [[:Category: Oblivion Script Extender|Oblivion Script Extender]]. Note that there are no CS Projectile functions. | ||
{{Template:Projectile Ref}} | |||
[[Category: Function Types (OBSE)]] | [[Category: Function Types (OBSE)]] | ||
[[Category: Function Types]] | [[Category: Function Types]] |
Latest revision as of 13:08, 23 August 2008
Projectile functions provided by the Oblivion Script Extender. Note that there are no CS Projectile functions.
Finding the Projectile Reference[edit source]
The only way to get a projectile reference is by walking through projectile references with GetFirstRef, GetNextRef and Label/GoTo. See GetFirstRef for the necessary info and a good, generalized example (note that the example walks through door references, change the 24 to 34 for projectiles).
Another example - this one will walk through each projectile until it finds an arrow shot by your companion (Reference EditorID = TriggerHappyFan) and marks the player as the shooter.
ref rProj ... set rProj to (GetFirstRef 34 1) Label if rProj if (rProj.GetProjectileType == 0) && (rProj.GetProjectileSource == TriggerHappyFan) rProj.SetPlayerProjectile else set rProj to GetNextRef Goto endif endif
Pages in category "Projectile Functions (OBSE)"
The following 17 pages are in this category, out of 17 total.