Talk:Action: Difference between revisions

tutorial
(tutorial)
Line 8: Line 8:


We see from https://github.com/n64decomp/sm64/blob/66018e9f3caaa67399218971d61366cb3f7ba7d7/include/sm64.h#L355 that
We see from https://github.com/n64decomp/sm64/blob/66018e9f3caaa67399218971d61366cb3f7ba7d7/include/sm64.h#L355 that
<code>#define ACT_EATEN_BY_BUBBA            0x00021317 // (0x117 | ACT_FLAG_STATIONARY | ACT_FLAG_INTANGIBLE | ACT_FLAG_INVULNERABLE)</code>
<code>#define ACT_EATEN_BY_BUBBA            0x00021317 // (0x117 | ACT_FLAG_STATIONARY | ACT_FLAG_INTANGIBLE | ACT_FLAG_INVULNERABLE)</code>


Line 13: Line 14:


So fill out this infobox like so and copy paste it at the top of your new page:
So fill out this infobox like so and copy paste it at the top of your new page:
<code>
 
<syntaxhighlight>
{{Action_infobox
{{Action_infobox
|title= Eaten by [[Bubba]]
|title= Eaten by [[Bubba]]
Line 27: Line 29:
|related=
|related=
}}
}}
</code>
</syntaxhighlight>


In this case I've wikilinked Bubba.
In this case I've wikilinked Bubba.


And now you can look at the other uses of the action to fill out the "into", "out of", and "animation" parts.
And now you can look at the other uses of the action to fill out the "into", "out of", and "animation" parts, as well as describing the function code
246

edits