Talk:Cast Reference

From the CreationKit Wiki
Revision as of 20:55, 12 December 2014 by imported>Egocarib
Jump to navigation Jump to search

What is the best(both cheap in memory and soucre code space) way to cast a bool into a short so one could use it as a link through(cast) to a GlobalVar.

--Zoe S17 (talk) 2014-12-11T02:54:48 (EST)

Papyrus doesn't have short type variables, only int. It also isn't possible to cast a literal (bool or int) to a object-type variable (like GlobalVariable), so I'm not really sure what you're asking.
--egocarib (talk) 2014-12-12T20:55:07 (EST)