Help
Remember Me?
Home
Forum
Download
Scripting docs
Wiki
Main
Special Pages
Books
Recent Changes
Blogs
Wiki
Main
GetActorBaseValue
This site has been archived and made available for preservation purposes. No edits can be made.
If this is your first visit, be sure to check out the
FAQ
by clicking the link above. You may have to
register
before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.
article
discussion
source
history
Viewing source for:
GetActorBaseValue
Retrieves the current base value of an [wiki]Actor value[/wiki]. [h="2"] Declaration [/h] [highlight=cpp] VAULTSCRIPT vaultmp::Value (*GetActorBaseValue)(vaultmp::ID, vaultmp::Index); native Float:GetActorBaseValue(ID, index); [/highlight] [h="2"] Parameters [/h] [b][wiki="ID"]vaultmp::ID[/wiki][/b] - the ID of the [wiki]Actor[/wiki] [b][wiki="Index"]vaultmp::Index[/wiki][/b] - the index of the [wiki]Actor value[/wiki] [h="2"] Return value [/h] Returns a [wiki="Value"]vaultmp::Value[/wiki] containing the base value. [h="2"] Usage example (C++) [/h] [highlight=cpp] vaultmp::Value value; value = GetActorBaseValue(actor, index); [/highlight] [h="2"] Related pages [/h] [list][*][wiki]SetActorBaseValue[/wiki] [/LIST] [category]VaultMP interface[/category] [category]Scripting functions[/category] [category]Actor functions[/category]