Setthisprojectile: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
No edit summary
One (talk | contribs)
No edit summary
Line 1: Line 1:
setthisprojectile[<[[sprite id]]>].parameter <gamevar>
'''setthisprojectile'''[<[[sprite id]]>].parameter <gamevar>


Sets <gamevar> to the value of the specified parameter of the projectile with the [[sprite id]] <[[sprite id]]>.  This works like the equivalent [[defineprojectile]] command but can be used in actor code.  See also [[getthisprojectile]].
Sets <gamevar> to the value of the specified parameter of the projectile with the [[sprite id]] <[[sprite id]]>.  This works like the equivalent [[defineprojectile]] command but can be used in actor code.  See also [[getthisprojectile]].

Revision as of 12:27, 4 May 2009

setthisprojectile[<sprite id>].parameter <gamevar>

Sets <gamevar> to the value of the specified parameter of the projectile with the sprite id <sprite id>. This works like the equivalent defineprojectile command but can be used in actor code. See also getthisprojectile.