- Joined
- Feb 20, 2016
- Messages
- 274
How do I make a worker have a secondary build option by using the spellbook?
EDIT: Is there a way to create like pages in the build menu?
Probably no. What I think is a same worker with only a difference is their build menu if they have a switch ability between these two workers.
Bad thing is he only wants to pick a structure/units to build at the spellbook so this doesn't help.
Sorry,dude.This is an impossible thing to do (for me of course.Subscribing to see how this turns out).
Was going to suggest what you said but then re-read your post and realised what you meant with the spellbook.![]()
I didn't even edited that post.
What I meant to say was that I misunderstood your point about the spellbook and that my intended suggestion was the exact same as yours.
Back to waiting on the impossible![]()
if GetIssuedOrderId() == 1717988727 then
set BuildingID = 'ffmw'
elseif GetIssuedOrderId() == 1717985889 then
set BuildingID = 'ffba'
elseif GetIssuedOrderId() == 1717985644 then
set BuildingID = 'ffal'
elseif GetIssuedOrderId() == 1717986669 then
set BuildingID = 'ffem'
elseif GetIssuedOrderId() == 1717987181 then
set BuildingID = 'ffgm'
endif
set dummy = CreateUnit(GetOwningPlayer(caster), 'fdum', x, y, 270.0)
call IssueBuildOrderById(dummy, BuildingID, x, y)
call UnitApplyTimedLife(dummy, 'BTLF', 10.00)
set FF_BuildingSource[GetUnitUserData(dummy)] = caster
set dummy = null