Anti-krazy
New Member
- Reaction score
- 5
Hi i was wondering if someone could give me an example of a complete spell made with CS (Custom Scripts). And im not using JASS.
Untitled Trigger 004 Copy
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Shadow Strike
Actions
Custom script: set udg_p = GetUnitLoc(GetTriggerUnit())
Custom script: call CreateNUnitsAtLoc( 1, 'hfoo', GetOwningPlayer(GetTriggerUnit()), udg_p, 0)
Custom script: call UnitApplyTimedLifeBJ( 2.00, 'BTLF', GetLastCreatedUnit() )
Custom script: call IssueTargetOrder( GetLastCreatedUnit(), "shadowstrike", GetSpellTargetUnit() )
Custom script: call RemoveLocation(udg_p)
can i ask why are u asking for a spell ?
and to be made in custom script?
why ?why ?why ?why ?why ?
lol
the "udg_p" is a GUI variable, named p of type "point". Honestly doubt you will find anyone who bothers to do anything more advanced than this, with custom the script line.Code:Untitled Trigger 004 Copy Events Unit - A unit Starts the effect of an ability Conditions (Ability being cast) Equal to Shadow Strike Actions Custom script: set udg_p = GetUnitLoc(GetTriggerUnit()) Custom script: call CreateNUnitsAtLoc( 1, 'hfoo', GetOwningPlayer(GetTriggerUnit()), udg_p, 0) Custom script: call UnitApplyTimedLifeBJ( 2.00, 'BTLF', GetLastCreatedUnit() ) Custom script: call IssueTargetOrder( GetLastCreatedUnit(), "shadowstrike", GetSpellTargetUnit() ) Custom script: call RemoveLocation(udg_p)
Nah, they should have:Well is there a tutorial for JASS id prefer if it was kinda like a book name called
"JASS for Dimwits"
lol but is there an easy Jass tutorial around here everything i see is kinda advanced
So your saying Newgen is better than JASScraft but you have to downgrade WE?