momo1o5 Posted January 29, 2014 Share Posted January 29, 2014 Hi,I need some help with a script i'm trying to make a disarm spell with a script here my script Scriptname Impero extends activemagiceffect Event OnEffectStart(Actor Target, Actor Caster)If Target != Game.GetPlayer()Caster.DisarmActor(Target, Disarm)EndifEndEvent Int Property Disarm Auto Int Property Disarm = 10 Auto Int Property a Auto what i'm doing wrong ?Here the error Starting 1 compile threads for 1 files...Compiling "Impero"...C:\Program Files (x86)\Steam\SteamApps\common\Skyrim\Data\Scripts\Source\temp\Impero.psc(11,13): script property Disarm already definedC:\Program Files (x86)\Steam\SteamApps\common\Skyrim\Data\Scripts\Source\temp\Impero.psc(11,13): script variable ::Disarm_var already definedC:\Program Files (x86)\Steam\SteamApps\common\Skyrim\Data\Scripts\Source\temp\Impero.psc(11,13): script property Disarm already has a get function definedC:\Program Files (x86)\Steam\SteamApps\common\Skyrim\Data\Scripts\Source\temp\Impero.psc(11,13): script property Disarm already has a set function definedNo output generated for Impero, compilation failed. Link to comment Share on other sites More sharing options...
djjohnjarvis Posted January 29, 2014 Share Posted January 29, 2014 You have defined the Disarm property twice, one line saying "Int Property Disarm Auto" and the other "Int Property Disarm = 10 Auto". You can't have two properties with the same name. Link to comment Share on other sites More sharing options...
momo1o5 Posted January 29, 2014 Author Share Posted January 29, 2014 (edited) You have defined the Disarm property twice, one line saying "Int Property Disarm Auto" and the other "Int Property Disarm = 10 Auto". You can't have two properties with the same name.Thank i'll try thats if you can give me some more explain about casting spell trought script i would like it :P Edited January 29, 2014 by momo1o5 Link to comment Share on other sites More sharing options...
Recommended Posts