Setthisprojectile: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
No edit summary
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.  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]].


[[Category:EDuke32 specific commands]]
[[Category:EDuke32 specific commands]]
[[Category:Projectile manipulation]]
[[Category:Projectile manipulation]]

Revision as of 16:22, 4 October 2006

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.