mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-30 07:27:57 +01:00
1 line
4.2 KiB
HTML
1 line
4.2 KiB
HTML
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../../"><link rel="stylesheet" href="dmdoc.css"><title>/obj/effect/hallucination/chaser - Space Station 13</title></head><body><header><a href="index.html">Space Station 13</a> - <a href="index.html#modules">Modules</a> - <a href="index.html#types">Types</a> — <a href="obj/effect/hallucination/chaser.html#var">Var Details</a> - <a href="obj/effect/hallucination/chaser.html#proc">Proc Details</a></header><main><h1>Hallucination - Chaser <aside>/<a href="obj.html">obj</a>/<a href="obj/effect/hallucination.html">effect/hallucination</a>/<a href="obj/effect/hallucination/chaser.html">chaser</a></aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/modules/hallucinations/effects/common.dm#L34"><img src="git.png" width="16" height="16" title="code/modules/hallucinations/effects/common.dm 34"></a></h1><p>A generic hallucination that chases the target.</p><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="obj/effect/hallucination/chaser.html#var/think_interval">think_interval</a></th><td>Interval between two thinks in deciseconds. Shouldn't be too low to prevent lag.</td></tr><tr><th><a href="obj/effect/hallucination/chaser.html#var/think_timer">think_timer</a></th><td>Think timer handle.</td></tr><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="obj/effect/hallucination/chaser.html#proc/chase">chase</a></th><td>Called every Think when we are not close enough to the target.</td></tr><tr><th><a href="obj/effect/hallucination/chaser.html#proc/think">think</a></th><td>Called at regular intervals to determine what to do.</td></tr><tr><th><a href="obj/effect/hallucination/chaser.html#proc/within_range">within_range</a></th><td>Called every Think when we are close enough to the target.</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/think_interval"><aside class="declaration">var </aside>think_interval <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/modules/hallucinations/effects/common.dm#L42"><img src="git.png" width="16" height="16" title="code/modules/hallucinations/effects/common.dm 42"></a></h3><p>Interval between two thinks in deciseconds. Shouldn't be too low to prevent lag.</p><h3 id="var/think_timer"><aside class="declaration">var </aside>think_timer <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/modules/hallucinations/effects/common.dm#L45"><img src="git.png" width="16" height="16" title="code/modules/hallucinations/effects/common.dm 45"></a></h3><p>Think timer handle.</p><h2 id="proc">Proc Details</h2><h3 id="proc/chase"><aside class="declaration">proc </aside>chase<aside>() <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/modules/hallucinations/effects/common.dm#L74"><img src="git.png" width="16" height="16" title="code/modules/hallucinations/effects/common.dm 74"></a></aside></h3><p>Called every Think when we are not close enough to the target.</p><h3 id="proc/think"><aside class="declaration">proc </aside>think<aside>() <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/modules/hallucinations/effects/common.dm#L59"><img src="git.png" width="16" height="16" title="code/modules/hallucinations/effects/common.dm 59"></a></aside></h3><p>Called at regular intervals to determine what to do.</p><h3 id="proc/within_range"><aside class="declaration">proc </aside>within_range<aside>() <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/modules/hallucinations/effects/common.dm#L80"><img src="git.png" width="16" height="16" title="code/modules/hallucinations/effects/common.dm 80"></a></aside></h3><p>Called every Think when we are close enough to the target.</p></main><footer>paradise.dme <a href="https://github.com/ParadiseSS13/Paradise/tree/edee60476d21ee840643bd1abe7f6003a8c65773">edee604</a> (master) — <a href="https://github.com/SpaceManiac/SpacemanDMM/blob/master/crates/dmdoc/README.md">dmdoc 1.11.0</a></footer></body></html> |