Jump to content


Photo

181 ReallyForceSpellRES(S:RES*, O:TargetI:Spell*Spell)


3 replies to this topic

#1 Gwendolyne

Gwendolyne
  • Members
  • 43 posts
  • Gender:Male
  • Location:France

Posted 08 January 2012 - 03:47 AM

Hello.
I am developping a new mod and I am a little bit intrigate by this :

181 ReallyForceSpellRES(S:RES*, O:TargetI:Spell*Spell)
This action causes the active creature to cast the specified spell at the target object. The spell need not currently be memorised by the caster, and will not be interrupted while being cast. The spell is cast instantly (i.e. with a casting time of 0). The caster must meet the level requirements of the spell. For the RES version of the action, the spell name can not consist of only numbers, should be written in upper case and should be no more than 7 characters long. This action may not be reliable. This action does not work in the script round where the active creature has died.


But I have always use it with spells like this : "GWxxxxxx". And the game has never crashed.
Can someone tell me why I should use spells with no more than 7 characters long ? And if it is REALLY necessary.
THANKS.

CARPE DIEM...



In progress : Menace sur le Royaume de Diamant Éternel

#2 Avenger

Avenger
  • Modders
  • 3406 posts
  • Gender:Male
  • Location:Hungary

Posted 08 January 2012 - 04:21 AM

No, those requirements are mostly bogus. Probably caused by some buggy script compiler or other fluke.

#3 Gwendolyne

Gwendolyne
  • Members
  • 43 posts
  • Gender:Male
  • Location:France

Posted 08 January 2012 - 12:43 PM

Thanks !

I was afraid to rename all my spells and change my scripts.
A lot of time saved...

CARPE DIEM...



In progress : Menace sur le Royaume de Diamant Éternel

#4 igi

igi

    IESDP Guardian

  • Gibberlings
  • 1210 posts
  • Gender:Male

Posted 29 January 2012 - 02:03 AM

Local copy updated, thanks.



Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users