Larian Banner
Previous Thread
Next Thread
Print Thread
Joined: Oct 2017
Location: NH, USA
R
apprentice
OP Offline
apprentice
R
Joined: Oct 2017
Location: NH, USA
Hi all,

I'm trying to get a simple rig going for an object casting a spell on the party, but there doesn't appear to be much on documentation on the subject that I've found.

The trigger is on-use, and it works fine, but what is the proper usage of CharacterUseSkill([in] (CHARACTERGUID), [in] (STRING), [in] (GUIDSTRING), [in] (INTEGER))?

I assume, caster, skill name, target, and not sure. I'm also unsure of the skill names Osiris is looking for. Thanks again.


Projects: Tomb of Horrors: Tomb of Horrors
Joined: Mar 2016
Location: Belgium
T
addict
Offline
addict
T
Joined: Mar 2016
Location: Belgium
I have added the documentation for CharacterUseSkill. The skill name comes from the stats editor. You may want to read through the tutorial on skill creation/modification to get familiar with the stats editor as far as it is related to skills.

Note that, as explained on the Osiris API start page, you can see the full definitions of all Osiris calls in the editor. Then you can also see all parameter names, which is more useful than just their types (which you, unfortunately, get in case there are overloads).


Moderated by  Larian_Koala 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.5