Setthisprojectile: Difference between revisions
| Hendricks266 (talk | contribs) 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 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 13: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.
