Globalint scripting help

Started by , Thu 26/01/2006 00:13:07

Previous topic - Next topic

sam5992

 Im making a rpg and i need to add in something to the script to make health, mana,etc. I looked in the rpg tutorial and it said to use the 'globalint' command or 'givehealth'. Both of these commands are unreconized by th system.  What should i do?

Ashen

#1
I would suggest you read the manual, and re-read the tutorial for more details.

The 'global int' command is going to be GetGlobalInt and SetGlobalInt. (BFAQ entry - GlobalInts: Your Friend)

'givehealth' is either a custom function (BFAQ Entry on custom functions), or a custom variable (BFAQ entry on variables) - without knowing what tutorial you used, I can't say which.
I know what you're thinking ... Don't think that.

monkey0506

You might also want to consider using a struct instead.

SMF spam blocked by CleanTalk