convolution223
Member
Posts: 78
Threads: 15
Joined: Jul 2011
Reputation:
0
|
RE: How to end custom story as a Demo?
(07-14-2011, 07:26 AM)Snuffalofagus Wrote: (07-14-2011, 07:13 AM)convolution223 Wrote: (07-14-2011, 07:08 AM)Snuffalofagus Wrote: EEK, I'm not very good with variables and such.
Hmm...
AddLocalVarInt? or SetLocalVarInt?
and would I need to make a new .hps file strictly for local variables? (kinda like global variables)
and If not, where would the command(s) go? OnStart, or OnEnter?
sorry for all the questions, I'd rather ask them now and not bug you later y'know?
:o wait... you need to make a new .hps file for global variables? I was trying to use global variables I set up in one map in a different map and it wasn't working, but are you sure you set up another .hps file? what would it be called and what would it look like (or just point me to where i can find an example from the main game, please)?
It's very simple. You use the "(Add, Set, etc.)GlobalVar(Int, Float, String, etc.) and place it in the .hps file. It's supposed to be named "global.hps"
and it's only one section.
Here:
THANK YOU.
|
|
07-14-2011, 08:57 PM |
|